aspose file tools*
The moose likes Servlets and the fly likes Disadvantages in Servlet Chaining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Disadvantages in Servlet Chaining" Watch "Disadvantages in Servlet Chaining" New topic
Author

Disadvantages in Servlet Chaining

Dinesh Ramaswamy
Greenhorn

Joined: Oct 05, 2001
Posts: 13
Can anyone please tell me what are the disadvantages in Servlet Chaining?
Thanks in advance,
Dinesh.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
The concept that used to be referred to as servlet "chaining" has been replaced with "Filters" as of the servlet 2.3 API. The main disadvantages as I see it:
1. Complex - more APIs
2. Slower than a single servlet
Advantages:
1. Flexibility
2. Better separation of functions and potential for using library components.
Bill
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
dinram
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
Thanks!
and welcome to the JavaRanch!
 
jQuery in Action, 2nd edition
 
subject: Disadvantages in Servlet Chaining