Well, in theory the world is much simpler than it is ;-)
The "executables" part of RMI-IIOP (i.e. rmic, idlj, tnameserv) is quite
platform-independent - I also tried running these under Linux and it worked.
What really matters is the native support for IIOP-compatible serialization,
contained in ioser*.dll on WIn32 and ioser*.so on Solaris. As far as I can
see, there is no pure-Java workaround for this native functionality in the
current RMI-IIOP release (you'd better ask JavaSoft people, cause I don't
even have the right to look at it closely, if I understand the license
properly ;-)))).
--
Oleg Moroz
Software Engineer
Geonix / MetaHood
====
Ted Neward wrote:
> <THEORY>
> I haven't tried this, but I believe nothing in RMI-IIOP is purely Win32 or
> Solaris. Like the exectuables that come with the JDK, the rmic.exe
> executable is simply a JNI Invocation wrapper around a Java class
> (sun.rmi.rmic.Main from the iioptools.jar file). tnameserv.exe is a
wrapper
> around com.sun.rmi.CosNaming.TransientNameServer, and idl2j.exe is a
wrapper
> around the Java class com.sun.idl.toJavaPortable.Compile.
>
> Theoretically, if you have a fully-functional JDK 1.2 working on your
> platform, and you have the RMI-IIOP jars installed, you should be able to
> run the Java classes directly, instead of through the executable. I've
done
> it with the rmic compiler, and I don't believe the executables add
anything
> of major importance--they're just convenient wrappers to avoid having to
> type "java sun.rmi.rmic.Main" instead of "rmic".)
> </THEORY>
>
> Assuming that theory holds true, nothing in RMI-IIOP (or any of its
related
> technologies) should be platform-specific in any way.
>
> Ted Neward
> Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
> http://www.javageeks.com/~tneward
> "I don't even speak for myself; my wife won't let me." --Me
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".