getting the Event Service object from the Corba Client program.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sujata_Pandita
Posted On:   Wednesday, April 17, 2002 09:08 AM


I am using Visibroker for Java , 4.5 and using the Event Service for Asynchronous Event Communication. The problem is , I dont want to use the IOR file and the object_to_string to be done and the data stored in an IOR file. What I want is :
Use resolve_initial_references("EventChannel")
to resolve the name and get the object.


How do I further store it without using the ior FILE. if i HAVE TO USE THE naMING SERVICE, CAN i USE IT WITHOUT EXPLICITLY STARTING IT FROM THE COmmand line. ( Is it
possible through the ORB Smart Agent ? ) .

Re: getting the Event Service object from the Corba Client program.

Posted By:   Markiv_Tonahb  
Posted On:   Friday, April 26, 2002 01:14 PM

You can use the property ORBInitRef to do this .

Run your Supplier/Consumer program in the following manner :

> java -DORBInitRef EventService=corbaname:::


Your app should be able to resolve the service successfully .

Re: getting the Event Service object from the Corba Client program.

Posted By:   jaga_Boggula  
Posted On:   Thursday, April 18, 2002 05:33 AM

How about creating a corba servent(Server) which will have a method getEventChannelIOR() that returns ior. This way we don't have to save IOR file.

Thanks
About | Sitemap | Contact