Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Looking for IPC in Java

 
Chandra Vadlamani
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am looking for IPC (Inter Process Communication) features in Java, i am novice in Java technology and am looking for features lile Messsage queues or shared memory to have peer to peer messaging asynchronosly. I would appreciate any direction the forum can offer.
I have been reading about JMS but i got an impression that it is geared for J2EE platform and i am using J2SE.
Thanks for your time
Chandra
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most lightweight solution is probably RMI.
- Peter
 
Chandra Vadlamani
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also looking for asynchronous messaging between the processes is it possible using RMI??
Thanks
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not without extra infrastructure. It depends on your needs. Nothing prevents you from implementing a single queue, based on a LinkedList for example, at one end of your RMI connection. For more elaborate needs, you would quickly be looking at JMS. This would range from lightweight in-memory JMS implementations which you could expose using RMI to enterprise-level JMS implementations backed by a filestore or RDBMS.
- Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic