RE: TC4, does it reuse / pool custom tags?

2001-11-26 Thread Ulf Dittmer

TC can reuse tag instances (since TC 3.3 I think), but doesn't
by default. Look for TagPoolManagerInterceptor / in server.xml
to turn that feature on.

Ulf

-Original Message-
From: Peter Mutsaers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: TC4, does it reuse / pool custom tags?


Hello,

I was wondering if TC4 ever reuses instances of custom tags.
It looks like I get a new instance each time.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: TC4, does it reuse / pool custom tags?

2001-11-26 Thread Peter Mutsaers

 Ulf == Ulf Dittmer [EMAIL PROTECTED] writes:

Ulf TC can reuse tag instances (since TC 3.3 I think), but doesn't
Ulf by default. Look for TagPoolManagerInterceptor / in server.xml
Ulf to turn that feature on.

Craig R. McClanahan just wrote TC4 does not. Does this mean TC3.3
does/can, but 4.x not? Or only that TC4 does not by default, but can
be configured to do so?


-- 
Peter Mutsaers  |  Dübendorf| UNIX - Live free or die
[EMAIL PROTECTED]  |  Switzerland  | Sent via FreeBSD 4.4-stable

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: TC4, does it reuse / pool custom tags?

2001-11-26 Thread DONNIE HALE

Just to clarify, it's really Jasper that does the JSP compiling and determines whether 
or not custom tags get reused. There's not much difference, as I understand it, b/w 
the TC4 and TC3.x versions of Jasper.

Here's a message Craig sent a while back (on the Struts list):

=
Yes.  For example, Tomcat (more precisely, the Jasper component) does not
currently recycle custom tag instances -- this is in the process of being
addressed.  Also, the code generator is very simplistic, does essentially
no optimizations, and generates more code than it really needs to.

This is not surprising, given Tomcat's heritage as being a reference
implementation for the specs, rather than a high performance production
environment.  To the extent that people want to turn Tomcat into the
latter, it will improve.
=

Donnie


 [EMAIL PROTECTED] 11/26/01 03:17PM 
 Ulf == Ulf Dittmer [EMAIL PROTECTED] writes:

Ulf TC can reuse tag instances (since TC 3.3 I think), but doesn't
Ulf by default. Look for TagPoolManagerInterceptor / in server.xml
Ulf to turn that feature on.

Craig R. McClanahan just wrote TC4 does not. Does this mean TC3.3
does/can, but 4.x not? Or only that TC4 does not by default, but can
be configured to do so?


-- 
Peter Mutsaers  |  Dübendorf| UNIX - Live free or die
[EMAIL PROTECTED]  |  Switzerland  | Sent via FreeBSD 4.4-stable

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: TC4, does it reuse / pool custom tags?

2001-11-26 Thread Larry Isaacs

This feature was added to Tomcat 3.3 after Tomcat 4.0
had branched off into its own develoment.  I am not
aware that these changes were ever ported to the Tomcat 4.x
branch.  This feature hasn't received a lot of testing,
so you will need to do your own to insure it is working
properly for your application.

Larry

 -Original Message-
 From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 26, 2001 3:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: TC4, does it reuse / pool custom tags?
 
 
 Just to clarify, it's really Jasper that does the JSP 
 compiling and determines whether or not custom tags get 
 reused. There's not much difference, as I understand it, b/w 
 the TC4 and TC3.x versions of Jasper.
 
 Here's a message Craig sent a while back (on the Struts list):
 
 =
 Yes.  For example, Tomcat (more precisely, the Jasper 
 component) does not
 currently recycle custom tag instances -- this is in the 
 process of being
 addressed.  Also, the code generator is very simplistic, does 
 essentially
 no optimizations, and generates more code than it really needs to.
 
 This is not surprising, given Tomcat's heritage as being a reference
 implementation for the specs, rather than a high performance 
 production
 environment.  To the extent that people want to turn Tomcat into the
 latter, it will improve.
 =
 
 Donnie
 
 
  [EMAIL PROTECTED] 11/26/01 03:17PM 
  Ulf == Ulf Dittmer [EMAIL PROTECTED] writes:
 
 Ulf TC can reuse tag instances (since TC 3.3 I think), 
 but doesn't
 Ulf by default. Look for TagPoolManagerInterceptor / 
 in server.xml
 Ulf to turn that feature on.
 
 Craig R. McClanahan just wrote TC4 does not. Does this mean TC3.3
 does/can, but 4.x not? Or only that TC4 does not by default, but can
 be configured to do so?
 
 
 -- 
 Peter Mutsaers  |  Dübendorf| UNIX - Live free or die
 [EMAIL PROTECTED]  |  Switzerland  | Sent via FreeBSD 4.4-stable
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: TC4, does it reuse / pool custom tags?

2001-11-24 Thread Craig R. McClanahan



On 22 Nov 2001, Peter Mutsaers wrote:

 Date: 22 Nov 2001 15:00:41 +0100
 From: Peter Mutsaers [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: TC4, does it reuse / pool custom tags?

 Hello,

 I was wondering if TC4 ever reuses instances of custom tags.
 It looks like I get a new instance each time.


At the moment, it does not reuse custom tag instances.  There is some work
going on to improve the overall performance of the code generated for JSP
pages, and this is one of the areas being investigated.

 --
 Peter Mutsaers  |  Dübendorf| UNIX - Live free or die
 [EMAIL PROTECTED]  |  Switzerland  | Sent via FreeBSD 4.4-stable


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]