tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Bell <teamsp...@spikesource.com>
Subject RE: What's better, having one large servlet or many small ones?
Date Tue, 06 Sep 2005 13:32:30 GMT
Raueber

Keep in mind that one day it could be many people reading your code, so I 
would suggest you have many servlets doing specific things.  

Regardless of whether it's a servlet, jsp or Java application think of future 
prospects of your code.  Ideally you could hand it to anyone and they 
understand what is going on with the minimum of comments.

Regards
Jason Bell

> Should I have one handler with many methods or more handlers with less 
methods
> (1-2)?

--
Jason Bell
Lead Architect, SpikeSource Europe
e: jbell@spikesource.com
w: http://www.spikesource.com
b: http://jasonbell.blog-city.com
m: +44 (0)787 529 2693

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message