Simon Lam wrote:
> Dear Simon Lam,
>
> Hi!
> I have some functions than can be implemented by one single servlet or
>multiple servlets. I wonder which method to choose because servlet is like a service
>on the server side. How will the number of deployed servlets affects the performance
>of Tomcat?
> Thanks in advance.
>
The number of servlets you use makes little or no difference in performance, but can
have substantial impact on how maintainable and expandable your application is. I
would suggest that you look at some of the web application frameworks that have become
available (such as Struts at <http://jakarta.apache.org/struts>), and review
discussions of MVC or "Model 2" architectures in the archives of this list, as well as
JSP-INTEREST and SERVLET-INTEREST at the java.sun.com web site.
>
> Regards, Z
> Simon Lam Z
> z
> z
> |||
> m(_ _)m
Craig McClanahan