Meaningless Drivel is fun!
The moose likes Tomcat and the fly likes RMI and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "RMI and Tomcat" Watch "RMI and Tomcat" New topic

RMI and Tomcat

Ulf Johansson

Joined: Apr 17, 2003
Posts: 2
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???
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17423

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.

An IDE is no substitute for an Intelligent Developer.
Ulf Johansson

Joined: Apr 17, 2003
Posts: 2
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

Joined: Oct 12, 2001
Posts: 1179

Try this link:
PS: I haven't tried the samples myself

Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: RMI and Tomcat
It's not a secret anymore!