Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling Session count and Application overloaded

 
Vinodh Sa
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can some one explain me the concepts (or provide me a link) of session count and session overload(max no. of users exceeded) handling in servlets ?.

I want to know which is the best/optimized approach for implementing this.

I m using JSF 1.1 and Weblogic Application Server.

Any suggestions/solutions provided would be of great help to me.

Thanks in advance to all.
 
Miku Ranjan
Ranch Hand
Posts: 98
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
you can create an application context object and track the number of session and accordingly can restrict the access to the web site.
 
Vinodh Sa
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Miku and Hebert for your reply !!!

I will go through that link and will get back to you, in case any help needed.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>you can create an application context object and track the number of session and accordingly can restrict the access to the web site.

In a single server (not clustered) environment.

cheers.
 
Miku Ranjan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
yes I was talking about a single server.
 
Vinodh Sa
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all for your valuable reply.

Finally i achieved this. :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic