RMI between Java 1.5 and 1.4

F

Fran Cottone

Is it possible to get a 1.4 rmi client to talk to a 1.5 server?
Achieving such "forward compatibility" is probably not on, so I'd
assume that you should compile your server's remote object ( and rmic
it ) using 1.4 and build the rest of your server using 1.5. However,
what do you do if the 1.4 unicast remote object subclass you create
makes calls on the rest of your server code written in 1.5?

Many thanks in advance.
 
E

Esmond Pitt

Fran said:
Is it possible to get a 1.4 rmi client to talk to a 1.5 server?
Achieving such "forward compatibility" is probably not on, so I'd
assume that you should compile your server's remote object ( and rmic
it ) using 1.4 and build the rest of your server using 1.5. However,
what do you do if the 1.4 unicast remote object subclass you create
makes calls on the rest of your server code written in 1.5?

Many thanks in advance.

Yes it is possible as long as you provide stubs. RMI is entirely
version-compatible apart from the need to provide (i) skeletons if you
want to support {client = 1.1, server >= 1.2} and (ii) stubs if you want
to support {1.1 <= client <= 1.4, server >= 1.5}. All the other cases work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top