wood burning stoves 2.0*
The moose likes Servlets and the fly likes Advantages of Main Servlet Controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Advantages of Main Servlet Controller" Watch "Advantages of Main Servlet Controller" New topic
Author

Advantages of Main Servlet Controller

Ramesh Talwar
Greenhorn

Joined: Jun 20, 2001
Posts: 16
What are the advantages of having single controller(Servlet) to handle all client requests and forwarding them to corresponding handlers.Will it affect performance as all the request ar forwarded to single controller making it too heavy.
Thanks in advance
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,
Remember that a new thread is created on the service method of your servlet to each new client, about the motivations and drawbacks of this pattern take a look at: http://java.sun.com/blueprints/patterns/j2ee_patterns/front_controller/index.html
regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Advantages of Main Servlet Controller