The native libraries in RMI-IIOP standard extension are required
because the JDK doesnt provide a pure-Java way of doing some things
necessary for IIOP serialization.
For EJB implementations, the EJB server vendor would need to provide
an implementation of RMI (over IIOP or some other protocol) that
allows EJB clients to use javax.rmi.PortableObject.narrow on all
OS'es supported by the vendor.
-Sanjeev Krishnan
Java Enterprise Technologies,
Sun Microsystems Inc.
>
> The fact of the ioser* native libs was already (rather gently) pointed out
> to me in a private email earlier today; wish I'd thought of them before I'd
> replied! :)
>
> Seriously, from looking at the DLLs' exported functions, it looks like these
> provide some native implementations of IIOPInputStream, IIOPOutputStream,
> and a few other classes; any chance, by just the STRANGEST quirk of fate,
> that there's a portable 100% Java implementation of these guys running
> around? Maybe Sun/IBM can provide a fallback Pure Java implementation for
> those platforms without the DLL/so's precompiled? Or else make this part of
> the Source download?
>
> (I'm interested in the whole idea from another angle, that of running
> RMI-IIOP on Linux.)
>
> 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
>
> -----Original Message-----
> From: Oleg Moroz <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Wednesday, August 11, 1999 1:24 AM
> Subject: Re: RMI-IIOP on non-Win/Solaris platforms
>
>
> >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".
>
> ===========================================================================
> 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".
>
===========================================================================
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".