Compiling RMI Applications ?

Matt Welsh mdw@cs.berkeley.edu
Thu Oct 14 10:20:00 GMT 1999


Eric Gamess <egamess@kanaima.ciens.ucv.ve> writes:
>> Could someone compile a RMI application?
> Maybe, I will be possible if there is a RMI implementation that use
> only classes supported by gcj and libgcj?

I was working on this, but it's on the back-burner right now. So, if anyone
would like to help out I would appreciate it.
I have a free implementation of RMI ("NinjaRMI") that is quite similar to
Sun's RMI. You can download it from
	http://www.cs.berkeley.edu/~mdw/proj/ninja
Note that this is NOT Java RMI per se; it is just very similar in 
functionality and design. You might want to steal some classes out of it
to get RMI support in libgcj. However, it does require some classes
in java.* and sun.* which are not part of libgcj.
Most of these are simple to implement. The most difficult are the 
ObjectOutputStream and ObjectInputStream classes, which implement 
serialization. I believe there are several free implementations out there.
I know that the "JavaParty" project at Uni Karlsruhe, Germany, has 
implemented an (all-Java) version of these classes which is faster than
Sun's -- it might be possible to get the code from them and use it.
Of course, we have the problem that all libgcj code be placed under 
Cygnus' copyright ownership, which won't work for most of this code.
Perhaps there should be a "libgcj-contrib" which is an addon to libgcj
which has "third-party" code in it. What do the Cygnus folks think?
Matt Welsh, UC Berkeley


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /