Fundamentals of Servlet Design

Justin Wells
webmacro.org

In this article I generate a list of requirements for a good servlet design, and propose a general framework for servlets which I think you should adopt.

I start out by taking a good long look at web development, noting the key features of that type of work to derive some important design requirements for servlets. Any servlet design should live up to these requirements.

Then I collect all these insights together into an argument for a Model/View/Controller approach to servlet design. I explain what that means, and why it's the right way to design servlets.

I call this approach the "right way to design servlets" because it's superior to any other approach I've seen. You may not always agree with me, but my opinions should at least provide food for thought.

In order to write Java servlet, you need a copy of the Java Servlet Development Kit (JSDK) and a servlet environment. You may find the WebMacro Servlet Framework a useful implementation of the design described here.

Next: Servlet Issues

INDEX:


Introduction | Download

api | design | faq | goals | links | license | othertech | quickstart | script | status