Caveats
Home ] Up ] Remote Objects ] Remote Method Calls ] Components ] The RMI Registry ] A Simple Example ] Listing Remote Objects ] Extended Example ] [ Caveats ] Passing Objects in RMI ] Remote Callbacks ]

 

 

RMI can be very tricky to get working.  Here are some of the areas where you may have to spend some time worrying:

  • Deployment -- The textbook goes into a fair amount of detail on deployment, and for good reason: If you don't do it right, things won't work!
  • Security -- You may find that you will need to set up your own security policy, which involves setting up a policy file and using a security manager.  Again, if you don't grant all the permissions you need, things simply won't work.  See the textbook for details.

One of the reasons for these difficulties is that it's very difficult to diagnose the underlying problem when things don't work.  You're likely to get error messages that seem to bear no relationship to what the real problem might be.

Be prepared for some degree of frustration!

 
The page was last updated February 19, 2008