• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Looking for IPC in Java

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic