• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI client and server running in different jvms

 
Alex Sharkoff
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I originally posted this question on the Java Developer Certification forum but have just come across this forum that deals exclusively with Distributed computing.

My question is : what potential problems can you see in running RMI Client in jre1.5.0_05 that talks to RMI Server running in jre1.4.2_08:


| rmi client |
| jre 1.5.0_05 |

| rmi server |
| jre 1.4.2_08 |


Thanks a lot for your thoughts on this issue.
[ January 05, 2006: Message edited by: Alex Sharkoff ]
 
Henrique Sousa
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I see, none. If the server starts fine you should have no problems. Some classes will be serialized to the client application, but since it supports version 1.4 there would be no problem. The client-side classes are not sent back to the server, so there would be no compatibility issues.

If you had the opposite scenario (server 1.4, client 1.5) then you would have a problem. All of the shared classes would need to be compiled and packed in 1.4 format, while the server-specific classes could be compiled using 1.5 SDK.
[ January 12, 2006: Message edited by: Henrique Sousa ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!