corba

Issues with CORBA communication

南笙酒味 提交于 2019-12-19 09:19:34
问题 This maybe too localized, but I am hoping someone can help me articulate my questions properly. So, we have a front end web server that communicates with a back end app server using CORBA. I have been asked to port the back end application to a LINUX box, which I did. But, in order to test it, I am trying to point the front end web server to the LINUX back end. We are using omniORB-4.1.4, and here is how the instance of the back end system is obtained: String args[] = new String[0]; System

Is there a replacement library for CORBA in JDK 11

爷,独闯天下 提交于 2019-12-17 23:06:09
问题 JDK-11 will remove a lot of older parts of the JDK (JEP-320). For some of them (e.g. JAXB) functionality will be provided as regular library. You simply add another dependency and everything works fine again. But not so for CORBA, because There is no significant interest in developing modern applications with CORBA in Java I am however in the painful situation of needing to maintain older applications that still require CORBA while still wanting to update to JDK-11. Is there a replacement

using an EJB 3.1 bean through a remote java stand-alone application

早过忘川 提交于 2019-12-13 16:06:59
问题 I have been trying to use Java EE 6 to create an Application Server based app which is to receive Job objects from a GWT Web Application and those Jobs would be pulled from a Java stand-alone application. I have been thinking that the EJB model would provide me with easy way to do remoting because my client app should be able to run on a different machine. I am using Glassfish 3.1 and Netbeans 7.0.1 as my IDE, I have also used eclipse Java EE to reproduce same problem. I have been facing the

Drop-in replacement for MICO Corba?

不羁的心 提交于 2019-12-13 12:37:57
问题 We are currently using MICO to establish the communication between a server and a client, where the client is a simulator written in C++ and the server is a java program displaying an animation of what happens in the simulation. It seems that the developemt of MICO has slowed down to an almost halt and bugs that only allow us to hack around them (as we don't have the time to first figure out which parts of MICO are responsible for codegeneration and so on) keep us from making real progress.

_ptr or _var - which one use as a class field and why?

丶灬走出姿态 提交于 2019-12-12 15:30:57
问题 I have a class: class Impl1 : public POA_I1 { private : Impl2_var ob; public : Impl2_ptr get(); { return ob; } void set(::Impl2_ptr ob) { this->ob = ob; } }; I'm a litte bit confused about _ptr and _var . I read that MyObject_var The _var version of the object reference type acts as a handle toproxy in much the same way as a _ptr reference but also adds memory management. Like all _var types, a _var reference takes care of deallocating its underlying instance (in this case, the proxy instance

GIOP error message

时光怂恿深爱的人放手 提交于 2019-12-12 14:38:02
问题 am new to corba and also am using eclipse ide for running it. whenever am running the server the following error message is coming Dec 15, 2012 9:17:18 AM com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase readGIOPHeader WARNING: "IOP00710220: (INTERNAL) Error in GIOP magic" org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 220 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.giopMagicError(Unknown Source) at com.sun.corba.se.impl.logging.ORBUtilSystemException

CORBA :: Get the client ORB address and port with use of IIOP

与世无争的帅哥 提交于 2019-12-12 12:37:56
问题 I have application in CORBA using IIOP protocol, i am using the Java IDL component of the JDK 6 , another ORB implementation. Implementation of both client and server in Java language. Is there any way in the JDK ORB implementation to get the client ORB`s host and port from the server (ORB)code ? Or is there any way with use of IIOP protocol, get client the host and port ? This is we are doing for identification of the client to track the who is requested 回答1: I don't think there is any

calling args from out side the main method

最后都变了- 提交于 2019-12-12 01:59:17
问题 I am developing a client server application where i can invoke server from the remote client and the some string is returned from the client. I am using CORBA . I have a user interface developed by using Java Swing on Netbeans . I need to invoke the server when a button is clicked on the client interface. For that I have to put following code segment inside jButton action listener. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { try{ // create and initialize the ORB ORB

compiling corba .idl file error

*爱你&永不变心* 提交于 2019-12-11 22:59:09
问题 Eclipse IDL compilation So im in the directory of the .idl file and I want to compile the gridDemo file, So I type idlj gridDemo.idl and I get the error that idlj is not a recognized as an internal or external command What am I doing wrong ? Yes Im running windows I have installed the java sdk, C:\Program Files (x86)\Java\jre7\bin Is this the path I put into the system variable path? SOLVED I was using the wrong file. it should have been the jdk not jre folder. Thanks very much :) 回答1: Update

Segmentation fault when returning a sequence CORBA C++ Server Java Client

陌路散爱 提交于 2019-12-11 20:15:52
问题 I'm developing a project in which I need to implement a Chat server in C++ and Chat clients in Java using swing for implementing the GUI. I'm having exactly this problem, implementing nearly the same project: Segmentation fault CORBA C++ This is the part of my IDL where the problem is: typedef sequence<ICliente> ListaClientes; interface IServer { attribute ListaClientes lista; void registrar_usuario (in ICliente cliente) raises (usuarioRegistrado); IConversacion crear_conversacion (in