• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI inside socket

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

i was about to create a client server Automated teller machine (ATM) implemented both
using socket and rmi. Socket is use to connect the client and server, while RMI is use to implement the method such
as withdrawal, check balance and so on.
server must be able to serve multiple client at one time (multithreading).
Anyone know how to implement RMi in socket? Please help me, i have crack my head for this but found no solution.
thanks
 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why use both? RMI is built on top of sockets so you can skip the entire manual socket part. RMI will be all you need, and it will be multi-threaded automatically (which requires you to make sure the server is thread safe).
 
reply
    Bookmark Topic Watch Topic
  • New Topic