RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 10:59 AM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > because sometimes we have a tag attribute that isn't > act

RE: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
> From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 04, 2003 6:20 AM > > To: Tomcat Users List > > Subject: Re: more about custam tag life cycle > > > > > > > > > The way to look at it is simply that the generated code >

RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 6:20 AM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > > > > > The way to look at it is simply that the generated code

RE: Object pooling (was: more about custam tag life cycle)

2003-02-04 Thread Felipe Schnack
> I prefer to use pooled objects either for relative small number of > long lived objects or for objects that are expensive to create, or > immutable objects that consume some memory and are likely to be in > use concurrently. And what you think about objects that are created millions of times

Re: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
> > > The way to look at it is simply that the generated code is going to use > a > > > tag pool for each distinct class of tags. Unfortunately, there is no > > > specific action that tells the tag it is being pulled from or being put > back > > > from the pool. > > > > > > > The page will call rel

Re: more about custam tag life cycle

2003-02-04 Thread Bill Barker
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: Tomcat Users List <[EMAIL PROTECTED]> > > Subject: Re: more about custam tag life cycle > > > > > From: "Felipe Schnack" <[EMAIL PROTECTED]> > > > Sent: Monday, Feb

RE: Object pooling (was: more about custam tag life cycle)

2003-02-04 Thread Joe Tomcat
On Tue, 2003-02-04 at 00:34, Ralph Einfeldt wrote: > I prefer to use pooled objects either for relative small number of > long lived objects or for objects that are expensive to create, or > immutable objects that consume some memory and are likely to be in > use concurrently. Pooling is actuall

RE: Object pooling (was: more about custam tag life cycle)

2003-02-04 Thread Ralph Einfeldt
lean(true) > -Original Message- > From: Will Hartung [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 11:42 PM > To: Tomcat Users List > Subject: Re: Object pooling (was: more about custam tag life cycle) > > > > From: "Erik Price" <[EM

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Erik Price wrote: > Date: Mon, 03 Feb 2003 17:16:54 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag li

Re: Object pooling (was: more about custam tag life cycle)

2003-02-03 Thread Erik Price
Will Hartung wrote: From: "Erik Price" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 2:16 PM Subject: Re: more about custam tag life cycle Are you saying that in general, object pooling is deprecated? In other words, it's always a bad idea, with the excepti

Re: Object pooling (was: more about custam tag life cycle)

2003-02-03 Thread Will Hartung
> From: "Erik Price" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 2:16 PM > Subject: Re: more about custam tag life cycle > Are you saying that in general, object pooling is deprecated? In other > words, it's always a bad idea, with the exception of

Re: more about custam tag life cycle

2003-02-03 Thread Erik Price
Joe Tomcat wrote: arguments. Object pooling is deprecated, except for expensive objects like db connections. Are you saying that in general, object pooling is deprecated? In other words, it's always a bad idea, with the exception of DataSource type pools? Erik --

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Sat, 1 Feb 2003, Joe Tomcat wrote: > Date: 01 Feb 2003 18:38:50 -0800 > From: Joe Tomcat <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag life cycle >

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: > Date: 03 Feb 2003 18:58:17 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: more about custam tag life cycl

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: > Hm... so this is standard behavior? release() is called after > doEndTag() in all containers that use pooling? The release() method is called only after the last time that a tag has been used, before it gets returned to the pool (in a pooling containe

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 3:56 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > Yes, but it can be done... to me seems simpler to change &g

Re: more about custam tag life cycle

2003-02-03 Thread Joe Tomcat
On Mon, 2003-02-03 at 11:00, Will Hartung wrote: > And like I said earlier, it would be nice if there were a pool interface > added to the lifecycle to clean up the tag processing to make optional > properties more portable and easier to write for. It would be even nicer if the pool were dropped e

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > > Date: Mon, 3 Feb 2003 14:51:21 -0500 > > From: Tim Moore <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: Tomcat Users List <[EMAIL PROTECTED]> > > Subject: RE: more about custam tag life cycle > > > &g

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > Yes, but it can be done... to me seems simpler to change > > the spec a little than add even more methods (this tends to > > create even more confusion IMHO) > But, to reiterate, there isn't really any kind of useful "cleaning" you > can do in doFinally that doesn't break the spec in other

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Tim Moore wrote: > Date: Mon, 3 Feb 2003 14:51:21 -0500 > From: Tim Moore <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: more about custam tag life cycle >

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 3:15 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > > I think there might be some benefit in clarity to the

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > But each invocation shouldn't get a different pagecontext? > > PageContext isn't > > something related to request's URL? I guess pagecontext's > > functionality isn't very clear to me... > We're talking about reuse within a single page. Oh, of course, sorry :-) > > > I think there mig

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
> From: "Felipe Schnack" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 11:11 AM > Subject: Re: more about custam tag life cycle > I'm curious, how you get a PageContext when the container doesn't call > setPageContext? Which container have this

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:46 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > I'm curious, how you get a PageContext wh

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
02-463-4863 > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:37 PM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > > > > On Mon, 3 Feb 2003, Will Hartung wrote: > &

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > I'm curious, how you get a PageContext when the container > > doesn't call setPageContext? Which container have this behavior? > What he meant is that it may not call setPageContext *on each > invocation*. It will always be called at least once before doStartTag. But each invocation shoul

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Will Hartung wrote: > Date: Mon, 3 Feb 2003 11:00:46 -0800 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag life

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:12 PM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > > I'm curious, how you get a PageContext when the container

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Will Hartung [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:01 PM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > [snipped] > > This entire problem, at least as I've encountered

Re: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
February 03, 2003 10:12 AM > > Subject: RE: more about custam tag life cycle > > > > This makes me feel much better :-) > > On Mon, 2003-02-03 at 16:09, Tim Moore wrote: > > This is NOT true, AFAIK. The same tag instance can be used multiple times > *sequential

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
> From: "Felipe Schnack" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 10:12 AM > Subject: RE: more about custam tag life cycle > This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moore wrote: > This is NOT true, AFAIK. The same ta

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
03 1:01 PM > > To: Tomcat Users List > > Subject: more about custam tag life cycle > > > > > > I was thinking... Gary McGath, if I understood well what > > you said it's possible that a container will call the same > > tag instance concurrently???

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
ext. 258 / Fax 202-463-4863 > -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 1:01 PM > To: Tomcat Users List > Subject: more about custam tag life cycle > > > I was thinking... Gary McGath, if I understo

more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
I was thinking... Gary McGath, if I understood well what you said it's possible that a container will call the same tag instance concurrently??? This would be a real problem, as if this happens, you couldn't believe even in your pageContext, etc variables! -- Felipe Schnack Analista de Siste