Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI serving multiple clients

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have few basic RMI questions.
If I am developing a Shoppingcart app., using regular Client and server (rather than Servlet), How do I maintain session once the user logs in? Will RMI server and Client have a connection over the Socket for the life time of the Client once you obtain a remote server object using Naming.lookup?
If multiple clients are calling the server methods, Is the server already multithreaded or do I have to make one. How do I make the server thread safe? Any examples will be gfreatly appreciated.
Thank You
kvlp
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!