• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI over the Internet inc. Callbacks (Lipe RMI)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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





 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic