Re: re-use of tag objects via Tag.release method

2001-03-02 Thread GARETH . LEACHMAN


Casey Lucas:

Interested in a  co-ordinated effort?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




re-use of tag objects via Tag.release method

2001-03-01 Thread Casey Lucas


Looking at the rendered jsp - java files in the work directory
(and noticing the calls to Tag.release), I realized that Jasper
is not reusing tags that it creates.  So, my question is:

Has there been any conversations about implementing tag
reuse in Jasper?

-Casey

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: re-use of tag objects via Tag.release method

2001-03-01 Thread Pierre Delisle



Casey Lucas wrote:
 
 Looking at the rendered jsp - java files in the work directory
 (and noticing the calls to Tag.release), I realized that Jasper
 is not reusing tags that it creates.  So, my question is:
 
 Has there been any conversations about implementing tag
 reuse in Jasper?

To my knowledge, there has been no conversation on the topic.
But, it'd be great to start one :-).

Besides the obvious performance gains, having agressive tag reuse 
in tomcat would also be great for taglibs testing purposes.
Properly handling 'release()' in a tag can be tricky and bugs will only
show up when a tag is run in a container that supports 'tag reuse'.

-- Pierre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: re-use of tag objects via Tag.release method

2001-03-01 Thread Casey Lucas


Ok, I'll bite.  Where's the best place to start looking?
Code that does the rendering?  Wasn't there at one point talk
of making the renderer more "pluggable"?

-Casey

-Original Message-
From: Pierre Delisle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: re-use of tag objects via Tag.release method




Casey Lucas wrote:
 
 Looking at the rendered jsp - java files in the work directory
 (and noticing the calls to Tag.release), I realized that Jasper
 is not reusing tags that it creates.  So, my question is:
 
 Has there been any conversations about implementing tag
 reuse in Jasper?

To my knowledge, there has been no conversation on the topic.
But, it'd be great to start one :-).

Besides the obvious performance gains, having agressive tag reuse 
in tomcat would also be great for taglibs testing purposes.
Properly handling 'release()' in a tag can be tricky and bugs will only
show up when a tag is run in a container that supports 'tag reuse'.

-- Pierre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: re-use of tag objects via Tag.release method

2001-03-01 Thread Pierre Delisle


Casey Lucas wrote:
 Ok, I'll bite.  Where's the best place to start looking?
 Code that does the rendering?  Wasn't there at one point talk
 of making the renderer more "pluggable"?

Great!

Since you asked, here are some ideas:

As a first step, I'd make sure to clearly understand all the spec
says about tag reuse.

Then, I'd get acquainted with the tomcat generated servlet 
code of various JSP pages that use tags. That will tell how access 
to tags is currently architected in jasper. (I think it will be easier 
than looking at the tags generator code itself, but if you're insterested 
in seeing that code, check the Tag* files in org.apache.jasper.compiler.)

Finally, with all that knowledge, I'd come come up with ideas, rough designs, 
etc... on how reuse could be implemented in Jasper. 
I don't think any deep knowledge of Jasper code is required to get up to
here.

Use the list for help/feedback. Before long, you'll be the expert!

-- Pierre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]