The lower the version you use the more portable it'll be. If you stick with org.omg.CORBA it'll run on any ORB. A transient naming service can certainly be implemented entirely in org.omg.CORBA/PortableServer with the exception of registering it as an initial reference. I'd write the service portably and leave registration as a task for the ORB. That will make it useful not only in Geronimo but anywhere that someone wants a portable TNS (e.g. I'd have loved this two weeks ago to replace a revolting test hack involving tnameserve on a different project.)
On Thu, 2006-06-29 at 09:06 -0400, Rick McGuire wrote: > I'm working on a transient NameService implementation that can be used > by Geronimo, and I suddenly find myself seriously confused on what > version of the org.omg.* classes we should be using, particularly when > compared with the Geronimo spec versions. For example, in the Geronimo > 3.0 spec tree, there is are org.omg.CORBA, org.omg.CORBA_2_3, and > org.omg.CORBA_2_5. In the Yoko tree, we have CORBA, CORBA_2_3 and > CORBA_2_4. Also, there's no CosNaming package in the Yoko tree, which > I'll need to write the NamingService. Also, unfortunately, I would > really like to be able to use the CORBA_2_5 version of ORB, since that > adds the register_initial_reference method to the public interface. > > What should we be using here? Would it be appropriate to pull in the > Geronimo CORBA 3.0 tree and build the classes that way? > > Rick
