File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes RMI over the Internet inc. Callbacks (Lipe RMI) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI over the Internet inc. Callbacks (Lipe RMI)" Watch "RMI over the Internet inc. Callbacks (Lipe RMI)" New topic
Author

RMI over the Internet inc. Callbacks (Lipe RMI)

David North
Greenhorn

Joined: Sep 02, 2009
Posts: 1
Hi, I am trying to implement an application using a 3rd party API called LipeRMI (version 0.4.2). Lipe RMI Support from there seems inactive for a couple of years now.

Attached are my test client and server.

1 However, the API has a synchronization problem with ObjectInputStream and ObjectOutputStream in the class ConnectionHandler. My test applications hang after 4 seconds as the synchronization is not correct. I have tried adding/moving locks, but am lost at where the hang is. My IDE is Netbeans, which shows there is no code deadlock. But reading around, there are comments that the OIS and OOS are deadlocked.

2 As a side note, if anyone can recommend a good method of performing RMI over the internet between firewalls inc. callbacks, then please let me know.

Any help would be gratefully recieved.

David





Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

I don't know anything about LipeRMI but the fact that its inactive should give you a hint. Don't use it.

RMI still has a few places where it can be valuable, but in most cases, it was a solution invented a decade or more ago that really does not solve any modern problems.

It is much more modern to pass messages, rather than remote procedure calls. They are much more robust, and easier to debug.

Check out REST, its really a better idea.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI over the Internet inc. Callbacks (Lipe RMI)