I worked on a team that used inner-classes to encapsulate particular tasks
associated with query parameters passed from the client. We were designing
generic model-view-controller domain frameworks for the Web application
environment and this mechanism made it very easy for users and maintainers
of the frameworks to understand and modify the code to meet their specific
needs. Specifically, each domain-framework controller consisted of a
servlet or set of servlets with the tasks for the domain implemented as
inner-classes. Adding new tasks was as simple as adding a new inner-class
and associating it with a new query parameter.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Christian Cryder
Sent: Monday, September 18, 2000 9:00 AM
To: [EMAIL PROTECTED]
Subject: Q: Inner classes and servlets
Hi folks,
I'm wondering if/how people are using inner classes within Servlets? If you
are, could you let me know some details?
Thanks,
Christian
------------------------------------------------
Christian Cryder
Software Engineer, Rocks
Lutris Technologies, Inc.
[EMAIL PROTECTED]
------------------------------------------------
"What a great time to be a Geek"
------------------------------------------------
http://www.lutris.com ~ http://xmlc.enhydra.org
___________________________________________________________________________
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
___________________________________________________________________________
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