>?!?! What is an 'helper class' ?


A regular java class that would reside on the server that the servlet would 
instantiated like an ordinary object.  It will need to be in you class path.  Some 
people call them helper classes because you can put alot of the business logic in 
these classes and let the servlets do what they do best "request-response routers".

A few of quotes from this list might help:

James Duncan Davidson:
"But, it's not the job of the Servlet API by itself to solve the needs of
doing business logic abstraction"

Scott Neufeld:
"Keep all your business logic, maybe even the code that generates
HTML, in your "helper" classes. Use the servlet to interface with the web
browser and your "helper" classes. You could use the servlet to enforce web
group security restrictions, branch to other functionality, etc., but keep the
bulk of the coding in the other classes."

Steven Marcus:
" The servlet API defines an interface between the webserver and your
application. The servlet API is _not_ intended to be an application
architecture. Put another way - design your app and then figure out
how to interface it to your webserver."


Cheers,
Mike

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to