> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Esposito, Francis (Exchange)
> Sent: Wednesday, November 24, 1999 12:03 PM
> To: [EMAIL PROTECTED]
> Subject: Request & Response factories
>
>
> We are in the process of designing a servlet framework to deal with common
> issues of our business servlets, like authentication, authorization,
> logging, etc.  In the design of the framework, we are considering a class
> hierarchy which provides these capabilities and also provides
> hook functions
> where subclasses can concentrate on the business logic.  In designing this
> it seems that be able to replace the HttpRequest and HttpResponse objects
> with our own subclassed version would allow us to create a more intuitive
> design.
>
> Does the Servlet API provide the ability to supply factory classes for the
> creation of these objects?
>
>

I suggest you add features to HttpRequest (and HttpResponse) by composition
instead of inheritance.

To answer your original question: I don't believe so.

-s

___________________________________________________________________________
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