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.....
The most lightweight solution is probably RMI. - Peter
Joined: Feb 15, 2003
I am also looking for asynchronous messaging between the processes is it possible using RMI?? Thanks
Peter den Haan
Joined: Apr 20, 2000
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