jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "RMI and Tomcat" Watch "RMI and Tomcat" New topic
Author

RMI and Tomcat

Ulf Johansson
Greenhorn

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???
Thanks
Ulf
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17148
    
  27

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
Greenhorn

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: http://www.cs.clemson.edu/~pargas/courses/cs881/spring2002/presentations/ankits/
PS: I haven't tried the samples myself
Rene


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI and Tomcat
 
It's not a secret anymore!