Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI server in servlet

 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i write a servlet which is a RMI server, and then run it in tomcat?. if i can, how about the rebind method?... do i still have to run the rmiregistry or i do tomcat have some service that equivalent to rmiregistry?..
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be a cleaner design to separate your RMI server from your servlet and run it as a separate process. There is no problem with having a servlet connect to a RMI function. There is no substitute that I know of for running the rmiregistry.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic