It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Disadvantages in Servlet Chaining" Watch "Disadvantages in Servlet Chaining" New topic

Disadvantages in Servlet Chaining

Dinesh Ramaswamy

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

Joined: Mar 22, 2000
Posts: 13024
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
1. Flexibility
2. Better separation of functions and potential for using library components.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
and welcome to the JavaRanch!
I agree. Here's the link:
subject: Disadvantages in Servlet Chaining
jQuery in Action, 3rd edition