corba

Initializing Corba notification service in java successfully but cannot get any events in linux but it's done in windows

那年仲夏 提交于 2019-12-08 07:37:37
问题 I got a headache about a freaky error when i'm testing my application written in Java. The problem is here: I've written my application used CORBA connection technology. It's an CORBA client application module. In windows environment, the events was pushed successfully but in linux (both redhat and ubuntu) it wasn't. However, it's so freaky that i can call any CORBA functions and get the returned data exactly. I debugged my code, and saw that the initialization of CORBA connection and

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

霸气de小男生 提交于 2019-12-08 03:47:12
问题 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 above (Java IDL...) and have run both HelloServer and HelloClient after running the following command: start orbd -ORBInitialPort 1050 Not surprisingly, everything works :) I

IDL to Type Library

送分小仙女□ 提交于 2019-12-07 22:58:36
问题 Is there a way in Delphi 7 to generate a tlb from an idl? Or even from a class/ interface definition? 回答1: you can use the IDL2PAS.bat batch file (check in this location C:\Program Files\Borland\Delphi7\Bin) or the MIDL.exe application. 回答2: In Delphi 7 one of the easiest ways is to copy/paste the IDL into the Type Library editor source window. NOT the *_TLB.pas source unit 'behind' the type library, but the type library editor itself. I don't have D7 to hand right now, but iirc you may have

BAD_PARAM in java CORBA

久未见 提交于 2019-12-06 16:45:59
I'm encountering the BAD_PARAM error when I program the Client-Server Chat program in Java. The first code segment is the Server //Server.java try { ORB orb = ORB.init(args, null); POA poa = POAHelper.narrow(orb .resolve_initial_references("RootPOA")); poa.the_POAManager().activate(); ServerImpl s = new ServerImpl(port); System.out.println(port); org.omg.CORBA.Object obj = poa.servant_to_reference(s); Server r = ServerHelper.narrow(obj); // get reference to root naming context org.omg.CORBA.Object ns = orb .resolve_initial_references("NameService"); NamingContextExt nc = NamingContextExtHelper

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

99封情书 提交于 2019-12-06 08:46:14
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 above (Java IDL...) and have run both HelloServer and HelloClient after running the following command: start orbd -ORBInitialPort 1050 Not surprisingly, everything works :) I then with to register the HelloServer in the as a persistent service and fail miserably! I run the

Drop-in replacement for MICO Corba?

这一生的挚爱 提交于 2019-12-06 05:47:22
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. So, does any one of you know of a good drop-in replacement? We would like to have the following: The

What is an IOR file, what does it do, and how does it work?

此生再无相见时 提交于 2019-12-05 00:22:29
I believe it is related to CORBA in some way (I'm not sure). I'm curious as to its function and how it works. Google isn't helping me when I search for "IOR file", and I'm not sure what else I could search for. Thanks to anyone who can at least point me in the right direction with available resources. An IOR file is a file which contains an Interoperable Object Reference which is a kind of a locator string. The IOR file itself contains the IOR. The IOR is an CDR encoded string which, depended on the CORBA version, contains various information regarding the servant who created this string. But

CORBA ORB runtime define local IP interface usage

人盡茶涼 提交于 2019-12-04 20:16:26
We have an existing application which has set up a CORBA ORB runtime environment as client. At the moment we don't specify any local interface (IP/Ethernet) to use and the runtime seems to get some default interface on our local machine. The machine used is Oracle with Solaris operating system. The ORB runtime environment used here is Java 7 JDK built-in ORB. Is there any way to explicitly indicate that a certain local IP interface should be used via some property to ORB.init(...) ? For Oracle JDKs ORB it is -Dcom.sun.CORBA.ORBServerPort=10023 -Dcom.sun.CORBA.ORBServerHost=1.2.3.4 on cmdline

CORBA VS Webservices

心不动则不痛 提交于 2019-12-04 12:49:14
问题 Why WebServices took advantage over CORBA ? 回答1: While initially CORBA may have been thought to provide what web services provide today, I think I agree that it seems that for this application CORBA has "lost". However, as an RPC technology that is supported on a wide array of platforms (embedded), works and is tested well from native (C++), and can be used to implement pretty performant data transfer scenarios, I do think that CORBA still has an important niche. It's just got nothing to to

Differences between JMS and CORBA?

久未见 提交于 2019-12-04 11:56:35
I have just read about CORBA and JMS , they both seem to be used to implement Broker Architecture/Pattern . I have few questions regarding them 1.The differences between them are still not clear to me, anybody please explain ? 2.Is CORBA is used in today's IT Solutions ? Or is it losing charm ? 3.Does JMS can replace every aspect of CORBA ? Angelo Hulshout Ramon Gil Moreno is right in stating that JMS is the Java API that allows building applications to send and receive messages. IBM MQ or ActiveMQ are samples of JMS vendors that implements this API. CORBA on the other hand is a specification