Can I use properties to refer host name like this:
Properties props = new Properties();
props.put("org.omg.CORBA.ORBInitialHost","maris_o");
props.put("orb.omg.CORBA.ORBInitialPort","900");
// Initialize the ORB
ORB orb = ORB.init(args,props);
Instead of pasting server IOR to jndi.properties ? It would be more "human" way to
do it.
:-)
Does JacORB support it ?
Maris Orbidans
> java.naming.provider.url=IOR:000000000000002B49444C3A6F6D672E6
> F72672F436F734E61
> >
> 6D696E672F4E616D696E67436F6E746578744578743A312E30000000000002
> 000000000000
> >
> 0068000102000000000E3135382E3233342E37392E38340021EB000000114A
> 426F73732F4E
> >
> 616D696E672F726F6F74000000000000020000000000000008000000004A41
> 430000000001
> >
> 0000001C000000000001000100000001050100010001010900000001050100
> 010000000100
> >
> 00002C0000000000000001000000010000001C000000000001000100000001
> 050100010001
> > 01090000000105010001
> > java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user