Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI and Tomcat

 
Ulf Johansson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if Tomcat (4.1.24) supports RMI??
I'm using Tomcat and a simple HTTP servlet for an RMI application, but I cannot get Tomcat to provide my HTTP servlet with the name of the stub-file.
Have tried e.g. getQuery on the request object, but it comes back null.
Sure I've missed something... , but what???
Thanks
Ulf
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18002
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Tomcat's not an RMI server. However Tomcat can be part of an RMI serving system - both JBoss and JOnAS use RMI for their EJB services and both can start up Tomcat (or Jetty) to provide the HTTP services.
 
Ulf Johansson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim!
Not trying to use Tomcat as an RMI-server, just as the web server the RMI-client accesses to download the stub...
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this link: http://www.cs.clemson.edu/~pargas/courses/cs881/spring2002/presentations/ankits/
PS: I haven't tried the samples myself
Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic