Jon,

subclassing and extending functionality (thereby specializing the behaviour)
is standard practice in OO development. I would think you know  that. If you
believe that the Turbine framework does not require the Turbine servlet to
be subclassed then make it a final class.

I have personally verified that super.init () is being called, so that's not
a problem. To me all the things that Raphael put into the JetspeedServlet
make perfectly sense.

Cheers,
Thomas

----- Original Message -----
From: "Jon Stevens" <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 19:33
Subject: Re: CVS Clean up, Part 1: Initialization and Properties


> on 11/14/2000 4:51 AM, "Raphael Luta" <[EMAIL PROTECTED]>
> wrote:
>
> > BTW, why subclassing Turbine is not recommended ?
>
> Because it is not needed and could potentially cause problems if you
forget
> to call super().
>
> Give me one reason why you need to subclass it?
>
> -jon
>
> --
> http://scarab.tigris.org/    | http://noodle.tigris.org/
> http://java.apache.org/      | http://java.apache.org/turbine/
> http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
> http://www.collab.net/       | http://www.sourcexchange.com/
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://marc.theaimsgroup.com/?l=jetspeed>
> Problems?:           [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?:           [EMAIL PROTECTED]

Reply via email to