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 RMI Lib for this.
You can find a small example here: http://download.oracle.com/javase/1.3/docs/guide/rmi/getstart.doc.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With