ORBacus works great with both JDK1.1 and 1.2. The major problem with
using it on JDK1.2 is the CORBA classes from Sun fit the OMG CORBA 2.2
standard which introduced the POA. ORBacus 3.x.x uses the CORBA 2.0
standard and the BOA.
To use ORBacus with JDK1.2, you can either set some parameters on the java
command line, or in your source code. The commandline params are:
-Dorg.omg.CORBA.ORBClass=com.ooc.CORBA.ORB
-Dorg.omg.CORBA.ORBSingletonClass=com.ooc.CORBA.ORBSingleton
Or you can set these system properties in your source code:
Properties props = System.getProperties();
props.put("org.omg.CORBA.ORBClass", "com.ooc.CORBA.ORB");
props.put("org.omg.CORBA.ORBSingletonClass",
"com.ooc.CORBA.ORBSingleton");
System.setProperties(props);
And on the server side when you do the BOA_init call, you need to cast the
ORB paramter to be of class com.ooc.CORBA.ORB as follows:
ORB orb = ORB.init(args, props);
BOA boa = ((com.ooc.CORBA.ORB)orb).BOA_init(args, props);
All this is assuming of course that you have the OB.jar in your classpath
or installed in the jdk1.2 extensions directory.
Kelly
--
Kelly A. Campbell Applications Programmer/Analyst
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Kansas State University
http://www.telecom.ksu.edu/~camk/ Department of Telecommunications
109 East Stadium, Manhattan KS 66506 http://www.telecom.ksu.edu/
Voice: (785) 532-7067 Fax: (785) 532-7114
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]