This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

a few questions about RMI

Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been doing RMI programs using notepad.
They work fine but I am wondering how you can do them thru an IDE like eclipse.
Their is no RMI project to select when selecting a new project type?

The only thing I can think of is using some type of ant script or external process to automate running the rmic complier after compiling the classes and executing the rmiregistry command from the IDE.

But I am interested if their is another way I am not aware of thru eclipse. Perhaps some type of installable plugin for rmi projects or something I am not aware of.

Question 2

In java we have Corba , RMI , EJB , JMS (really just EJB but message beans) , ...

Corba I would only use over RMI if their was different languages other then java involved. (but if their is another reason I am missing please let me know)
Rmi or EJB don't really know why one or the other I favor RMI just because it usually is the easiest to implement in most cases. (Curious though why one or the other)

Question 3

using any of these distributive computing interfaces
Is their away to encrypt or at least have some security when sending a remote method (using sometype of SSLsocket instead of plaintext ) since I would think somebody looking with wireshark and nmap would beable to spoof or call a remote method if crafted the correct packet ....

Question 4
How do you make it so corba , rmi , ejb , jms ,... etc use encrypted packets thru the network instead of plaintext ones , basically how do you implement/code for question 3 in your rmi , corba ,..etc applications.

Thanks for any help
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

By adding rmi plugin to your eclipse, you can execute rmi programs from within eclipse.

You can refer below link to get rmi plugin :

I think its a trial version[not sure] , you can download plugin as per eclipse version you are using.
You can read instructions and Demos for plugin installation details.

Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link awesome

I see their is a tool called RMISpy to , so I am assuming RMI uses unencrypted protocols such as http ,..etc.

Is their any way to code your method calls to use ssl or some encrypted protocol such as https instead of http ?

Question 2
Why do we have both ejb and rmi? Meaning when would you use one over the other and for what reason.
Seems to me both do the same exact thing.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic