RE: IIOP / ORB.init
"Bordet, Simone" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <F4F4494F4618794E99E59D41C5292FFD01AD95B2@mnoexc01.emea.cpqcorp.net> |
Hi,
> I wanted to know if it is possible that instead of recreating an
> ORB object in class mx4j.remote.resolver.iiop.Resolver in
> method getORB(Map environment), it could check that the
> environment object contains "java.naming.corba.orb" property,
> then it returns the ORB object with something like : (ORB)
> environment.get("java.naming.corba.orb");
>
> It will avoid to create a new ORB object and allow to specify
> the ORB to use.
Sure.
Is there any reason to use a property key starting with "java.naming" ?
Would "org.omg.CORBA.ORB" a better key, or it is reserved ?
Thanks,
Simon
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click