corba

What is the difference between RMI and Corba?

Possible Duplicate: RMI and CORBA Differences? What is the difference between RMI and Corba? ...

How to kill the nameserver process in java

I built a client server application using an IDL file for client server communication across the network. Both the client and server programs are in java. When the user enters exit, both the server and the client exit. However I'm unable to kill the nameserver process. I started the nameserver using the command tnameserv -ORBInitialPo...

Using ACE ORB Event Service on HPUX 11.xx from Java

I have an Avaya PDS12 using HPUX 11.11 which I have installed an old version of ACE ORB on. I am trying to develop a Java client that uses the event service to get notification of calls being placed on the PDS (delivered through the event service). Here is the exception I get when trying to narrow on the event service: org.omg.CORBA.B...

Erlang corba tutorial or example?

Can anyone point me at a good tutorial or example of using Erlang for a CORBA client. I have an existing CORBA server written in another language, and need to connect to it using Erlang. ...

Unittesting Corba in Python.

Hi there, I am interested in your opinions on unittesting code that uses Corba to communicate with a server. Would you mock the Corba objects? In Python that's sort of a pain in the ass because all the methods of Corba objects are loaded dynamically. So you're basically stuck with "mock anything". Thanks! Note: I believe I have not m...

How to extract the server Host/IP from the CORBA IOR & NamingContextExt? [Java]

I've got a Client who needs to send a UDP packet to a server and the only reference he has to the Server is through the CORBA naming service (IOR). I know the IOR has the Server Information embedded but is there an easy way for me to extract it? This is the code I have so far: Object objRef = orb.resolve_initial_references("NameService...

Wait for a detached thread to finish in C++

How can I wait for a detached thread to finish in C++? I don't care about an exit status, I just want to know whether or not the thread has finished. I'm trying to provide a synchronous wrapper around an asynchronous thirdarty tool. The problem is a weird race condition crash involving a callback. The progression is: I call the thi...

Ideas for computer science project with CORBA or ICE

We have to perform a semester project with distributed computing using CORBA or ICE. It is a single-person project and we have a couple of months of time. For the programming language I'd like to focus on c# for it may be any other like C++. I don't want to write the one millionth prime generator, maybe there is something much more int...

How to change endianness when unmarshalling a CDR stream containing valuetype objects in Java.

I've got marshaled CDR data all by itself in the form of a file (i.e., not packed in a GIOP message) which I need to unmarshal and display on the screen. I get to know what type the data is and have working code to do this successfully by the following: ValueFactory myFactory = (ValueFactory)myConstructor.newInstance( objParam ); Stream...

Is there anything better than CORBA for interlanguage program communication?

I'm on a project using CORBA to read the data of objects that could be implemented in C++ or Java but conform to the same IDL. The pros are the idlj compiler and all the necessary code came free with Java. The con seems to be that I hear quite a bit that CORBA is old and not the latest and greatest. But I haven't heard names for anything...

RMI and CORBA Differences?

I am studying for a final and have a few questions about RMI and CORBA. These are discussion questions taken from a study guide so there is no real application context around them. Why are RMI and CORBA based on TCP? The question states to answer in terms of invocation semantics. What I have thought of so far is that TCP is going to...

Java's 'tnameserv' takes 3+ minutes to be "Ready", why?

I'm trying to help a dev of an app I'd like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after invocation. What exactly is tnameserv trying to do in those 3 minutes and is there anyway I can speed it up? The app failed because it tried ...

CORBA: Java's servertool does not allow me to register a server class

Hi all, Have been pulled down into the realm of CORBA... I am trying to quickly learn (if not master...) CORBA along side its Java mappings. I have come upon some old tutorials: Java IDL: The "Hello World" Example Naming Service orbd - The Object Request Broker Daemon I have created a project with the source from the first link abo...

Java's CORBA ORB and connecting to a 3rd party Naming Service

Hi all, The Following is from JavaTM IDL FAQ: How do I connect to a 3rd-party Naming Service from Sun's ORB? The recommended way is to use the Interoperable Naming Service (INS) , if this option is supported by the 3rd-party Naming Service. To use the Sun ORB with another vendor's Naming Service, Start th...

How do debug in Eclipse when an object is invoked?

Hi, I have just started with java development using Eclipse, when I was debugging this part: object.methodInAnotherClass(parameters); The debugger stopped, I understand this won't skip to another class and start debugging that, but what is the other way I can debug my another class? The same problem is also in CORBA. So, what is th...

CORBA AMI call not producing callback?

I'm modifying the stock quoter example from the wustl CORBA release. The assignment is to implement a reply handler for the StockFactory class that handles calls to get_stock() Here's my FactoryHandler implementation: FactoryHandler_i.h: #ifndef TAO_TUTORIALS_QUOTER_AMI_CLIENT_FACTORYHANDLER_I_H #define TAO_TUTORIALS_QUOTER_AMI_CLIENT...

CORBA: Trouble while attempting to configure and run OpenORB

Hi all, I am writing a simulator for a CORBA client, that is I am simulating a CORBA server. A requirement of the CORBA server is that it register a certain object with the CORBA NameService. I have somehow stumbled across OpenORB. I have downloaded all its binary zip archives and have extracted them all to a single directory- %TCOO...

Distributed computing using java RMI and CORBA

following is the problem i am facing. i will explain it will an example If there is an IT department that makes use of Java RMI and another department which make use of CORBA, if i happened to integrate those two departments spending least amount of time with least budget what are the approaches I can take could someone help me t...

ctags generator for CORBA IDL?

I work in a multi-language environment and use Vim + ctags for navigating the code. However we also use CORBA and exuberant ctags does not parse IDL files. Does anyone know of a ctags compatible tags generator for IDL? ...

Learning java cobra

I want to getting into cobra in java programming can any body help me with the tutorials and best books learning. Thanks in advance.. ...