Skip to main content

RMI in Glassfish3

Please note these forums are being decommissioned and use the new and improved forums at
2 replies [Last post]
Joined: 2013-01-22

Hi All;
We have application which been designed a long time ago - Swing WebStart client connecting to the server via RMI. Deployed on Tomcat. We are working on moving it to Glassfish3. I started with building just a simple RMI Server project and tried to deploy it on Glassfish 3 and then access it through simple Client.
Can someone point me to any tutorials for Glassfish which explains how to configure Glassfish for RMI? It seems like Glassfish 3 handles RMI differently than Glassfish 2?
Googled for several hours with no success. This subject is not very popular.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-10-06


Check out the example for GlassFish 3 in EJB FAQ: How do I access a Remote EJB component from a stand-alone java client?


Joined: 2013-01-22

Thank you very much for your reply.
I know that one of the option is to switch to EJB, but the original project was build using RMI (not EJB) and I wanted to try to come as close as possible by using ONLY RMI. Do you think is it still possible with glassfish 3 or it has to be EJB?