In my servlet, I need to setup a connection to remote CORBA object, can I still use " initialize orb and bind() mechanism". Is there anything I need to set for the web server.

Benoit Xhenseval

That is correct, you do not need anything else (apart from the ORB classes and idl-stubs to be available to your servlet engine).

You need to be aware that multiple servlets can share a JVM and therefore you should only initialise the ORB once, you could write a singleton object that does it and call in in the init method of your servlet.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact