wood burning stoves*
The moose likes Servlets and the fly likes Handling Session count and Application overloaded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Handling Session count and Application overloaded" Watch "Handling Session count and Application overloaded" New topic
Author

Handling Session count and Application overloaded

Vinodh Sa
Ranch Hand

Joined: May 06, 2010
Posts: 55
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.


Thanks, Vinodh
[Servlet tutorial]
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
you can create an application context object and track the number of session and accordingly can restrict the access to the web site.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Maybe this will help you:

http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Vinodh Sa
Ranch Hand

Joined: May 06, 2010
Posts: 55
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

Joined: Jan 24, 2005
Posts: 489

>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

Joined: Oct 11, 2011
Posts: 98
Hi,
yes I was talking about a single server.
Vinodh Sa
Ranch Hand

Joined: May 06, 2010
Posts: 55
Thanks all for your valuable reply.

Finally i achieved this. :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling Session count and Application overloaded