This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMI serving multiple clients Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI serving multiple clients" Watch "RMI serving multiple clients" New topic
Author

RMI serving multiple clients

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI serving multiple clients
 
Similar Threads
How many instances are created?
How to Bypass IE security settings??
How many instances are created?
[NX]STuPiD questions HELP !!!!
RMI and multithreading