aspose file tools*
The moose likes Java in General and the fly likes Looking for IPC in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Looking for IPC in Java" Watch "Looking for IPC in Java" New topic
Author

Looking for IPC in Java

Chandra Vadlamani
Ranch Hand

Joined: Feb 15, 2003
Posts: 31
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


Cheers<br /> <br />What's with the bottom line.<br />_ _ ____________________ _ _<br />SCJP 1.4, SCBCD 1.3, Prepping for SCEA.....
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
The most lightweight solution is probably RMI.
- Peter
Chandra Vadlamani
Ranch Hand

Joined: Feb 15, 2003
Posts: 31
I am also looking for asynchronous messaging between the processes is it possible using RMI??
Thanks
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking for IPC in Java