Hello, i would like to develop two differents applications that can comunicate with the other. Both app will run in the SAME machine (so, i dont know if i still should use sockets... sockets are useful to comunicate apps running in different machines, no?) Can someone help me?? Thank you very much.
Howdy -- if both applications are written in Java, you can use RMI. It handles all the low-level details of communicating over the sockets, and you get to act (almost) as though you are making local method calls. It's much higher-level than sockets and can free you to concentrate more on other things. You don't have to write your own protocol, since you're just making method calls. And RMI is *very* easy to learn. cheers, Kathy
Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596007124/ref=jranch-20" target="_blank" rel="nofollow">"Head First Design Patterns"</a><br /> <br />Just a Jini girl living in a J2EE world.