• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

do I need a RMI server for the assignment

 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the developer assignment, do I need a RMI server since I use different directories for client and server.
I know I do not need a web/rmi server if I put all classes in the same directory.
Please give me some advice.
Thanks
ruilin
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean.
In the requirement, it states that you are required to implement some sort of network functionalities.
That means you can use TCP/IP or RMI.
Is that what you are asking?
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response.
I know the network protocol we need to implement in the assignment.
I meant do we need a web server (or rmi server - a container)to server class files.
ruilin
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to implement your own server regardless which network protocal you use.
Whether it's rmi or tcp/ip.
 
roy shao
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Ruilin's meaning is:
when publish the RMI server, need extra RMI configration on the server site, for example, need it setup a web server to provide the classes to download for client.

I am not quite sure about it, but i guess if you put all classes needed at client in client package, you need not setup the web server/file server to let client download it.
Roy
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roy,
Thanks.
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look the book: Core Java-2 Volume II - advanced features on Page 274. The book suggests to install a lightweight server locally to test the RMI systems.
Any comments
thanks
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think he's asking if he has to implement a class loader to get the server interface and stub class files to the client??? If that's the question, then the answer is a RESOUNDING: I don't think so. From what I hear you don't have to do this but you should justify.
With Respect,
Matt DeLacey
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic