File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Deploying an RMI application! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Deploying an RMI application!" Watch "Deploying an RMI application!" New topic

Deploying an RMI application!

Peter Matthews

Joined: Nov 07, 2005
Posts: 21
Hi All,

I've developed a simple RMI application, but have yet to deploy it onto an application server. In other words, I have it running on my localhost, using rmiregistry in my command prompt. However, I was wanting a good tutorial explaining how to deploy a rmi app on a server, such as weblogic, websphere etc. Therefore, I wondered if anyone could point me in the right direction in obtaining a comphrehensive guide. I must point out I have very little experience in using app servers, so I am looking for a thorough walk through. Thanks in advance.
Nirav Patel

Joined: May 27, 2005
Posts: 22
One option could be use Servlet ( which auto-loads as container starts ), and start registry from init method of it and register your service there!

----<br />Nirav Patel<br />Software is the bottleneck in the digital world!
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

You'd need to search the documentation for the specific application server - here's the documentation for using RMI in Weblogic 8.1...

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Deploying an RMI application!
It's not a secret anymore!