• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Web Server?

 
Mike Gage
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks to me like RMI is the easiest way to implement the solution as it is posed in the assignment. Since we are not an all-Java company, we haven't used RMI, so I guess this is my opportunity to learn it.
My understanding, from what I have read, is that the normal way to implement an RMI solution is to have a web server deliver classes to the clients so that they can implement the server methods. Alternatively, the client can have the server classes in its own classpath. Many of the examples I have seen take this approach, apparently for the sake of simplicity, but add a comment to the effect that normally a web server would be used.
It seems like a web server is a better solution, since it allows changes on the server without making changes at all of the clients (and apparently vice-versa). Is it acceptable to include a web server, such as Tomcat, as a part of the solution? Is this what they expect?
Thanks.
-Mike Gage
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you do not need a web server. That is only if you are using dynamic/active (why can't I think of the correct name of this process. I know it starts with dynamic. Brain must have frozen.) downloading of stub and skeletons. If you include the stubs and skeleton with the client, you won't have to use a web server.
Yes, if you make changes, you will have to update the client.
But trying to include a web server like Tomcat is beyond the scope of the assignment.
Mark
 
Gennady Shapiro
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a java cert. The whole point of this assignment is to use java technologies.
In the SCJD world web servers and browsers do not exist.
If you feel your skill set is better suited for web-based stuff SCWCD certification might be more appropriate for you at this time. If you feel things like Swing and RMI (that are not heavily used in the real world) is something of interest to you this is a good opportunity to learn this stuff.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic