The moose likes JNLP and Web Start and the fly likes Suitable for internet-deployed EJB clients? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply Bookmark "Suitable for internet-deployed EJB clients?" Watch "Suitable for internet-deployed EJB clients?" New topic
Author

Suitable for internet-deployed EJB clients?

John Lindwall
Ranch Hand

Joined: May 29, 2002
Posts: 31
We have an EJB client application written in Java that uses RMI to communicate to Weblogic server 6.0. It initialy loads a bunch of data locally by maiing calls to the RMI server (which in turn calls session beans to retrieve the data).
This has worked great "in the lab" and even "in the wild" for a while. But now we're seeing weird unexpected java RMI exceptions like "EOFException" and "PeerGoneException".
Some people here claim that RMI is not a suitable protocol for such an application and that it must be timing out or is too sensitive to internet noise.
Any opinions?
John
John Lindwall
Ranch Hand

Joined: May 29, 2002
Posts: 31
We've ameliorated the errors somewhat by implementing a retry loop of a failed RMI call. We retry the call 3 times if it fails with a RemoteException (and a couple of other exception types).
This seems to greatly lessen the failures.
 
 
subject: Suitable for internet-deployed EJB clients?
 
Threads others viewed
RMI VS EJB server
RMI over Sockets
Protocols
Need info about Swing and EJB
My SCEA Part 1Study Notes
MyEclipse, The Clear Choice