I’m coding a concurrent ATM application having a Client and a Server.
I need to know how Socket programming can be used in this to call Server methods (request for his current balance, transfer funds etc) and get Objects returned to Client.
I do not want just to pass text using System.out.println like mentioned in Lesson: All About Sockets
You should use Javas
RMILib for this.You can find a small example here: http://download.oracle.com/javase/1.3/docs/guide/rmi/getstart.doc.html