> -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
> 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
>
> -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
> 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
> > > 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
> 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
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
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
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
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
> 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
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
--
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
>
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
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
> -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
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
>
> > 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
> > 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
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
>
> -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
> > 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
> 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
> -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
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:
>
&
> > 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
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
> -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
> -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
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
> 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
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???
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
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
34 matches
Mail list logo