• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI delivery

 
Rick Pellerin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone can tell me if I should do the following for my project:
1) Allow to start the rmi registry on a machine A, start the Server on a machine B (and bind a reference on machine A) and finally run the client on a machine C.
2) Create two differents jar files, one for the client and one for the server...
3) Use the codebase for retreiving the classes (or otherwise simply includes the necessary file into the Jar file)
Thanks
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

1) Allow to start the rmi registry on a machine A, start the Server on a machine B (and bind a reference on machine A) and finally run the client on a machine C.

The registry should be started on the same machine where you start the server.

2) Create two differents jar files, one for the client and one for the server...

That sounds right.

3) Use the codebase for retreiving the classes (or otherwise simply includes the necessary file into the Jar file)

You need a web server to dynamically download the stubs. The consensus in this group is that you should simply package your subs with the client.
Eugene.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic