Announcement Announcement Module
Collapse
No announcement yet.
RMI with spring- max no. of users which can be connected Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RMI with spring- max no. of users which can be connected

    Hi,

    Am new to spring rmi integration. Searched on internet but didn't get answer to my below mentioned queries:
    1- How can we limit the number of clients which can access the service provided by the server? What is the maximum no. which spring supports?
    2- When a client calls a service and in that service, if new objects are created. Then, next time, when a new client calls a service, still the previously created objects are present. How to clear off them?

    Will appreciate if you can answer the above queries and if possible, also share link for the best tutorial for spring and rmi integration considering many factors like no. of clients which can access, maximum no. of sessions, etc..

    Thanks.

  • #2
    Hi, you could use a semaphore to limit the concurrent number of users.

    Comment

    Working...
    X