how to init orb with propertie instead of command-line
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   geng_xinyu
Posted On:   Monday, June 24, 2002 06:38 PM

hi everyone ,I'm learning corba programming with java now ,in the events example of visivroker for java 4.5 the orb is initialized with the parmeters given by the commandline as following: vbj -DORBInitRef=EventService=file: PushModel now if i want to initialize the orb in a servlet i search the init() function ,there are three overloaded function :init(),init(String args,Properties prop) and init(Applet ap,Properties prop).Obviously i should use the second function ,but how should i set the properties key and value pair(s)? Please help me , it has puzzled me a long time.    More>>
			
hi everyone ,I'm learning corba programming with java
now ,in the events example of visivroker for java 4.5
the orb is initialized with the parmeters given by the
commandline as following:
vbj -DORBInitRef=EventService=file:
PushModel
now if i want to initialize the orb in a servlet
i search the init() function ,there are three overloaded
function :init(),init(String args,Properties prop)
and init(Applet ap,Properties prop).Obviously i should
use the second function ,but how should i set the
properties key and value pair(s)? Please help me ,
it has puzzled me a long time.
   <<Less
About | Sitemap | Contact