Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

one servlet or many servlets?

843841Jun 17 2003 — edited Jun 18 2003
Hi

Is it better to have one servlet to serve all the requests for a webapp or different servlets to do different work.

In my application I have defined only one servlet which accepts all the requests and I have controller classes for each JSP page to handle and validate the input.

Now my question is , Is there going to be any bottle neck for serving the user requests since any requests from any user comes to the same servlet. I like to know if the server open up enough threads to serve all requests with out a problem, Is there a maximum requests a servlet can serve??

Please advise me on this
Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2003
Added on Jun 17 2003
7 comments
977 views