Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-26 Thread Joe Tomcat
On Thu, 2003-01-23 at 04:02, Felipe Schnack wrote: I don't know, to me seems a good idea to pool tag instances. For people like me, that don't write a single line os scriptlet code, millions of tags are created and destroyed... seems to me that we are freeing a lot of work from gc... gc is

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-23 Thread Joe Tomcat
On Wed, 2003-01-22 at 17:08, Craig R. McClanahan wrote: JSP 2.0 also introduces a new tag API called SimpleTag. Besides being much easier to program, you don't need to worry about pooling and reuse of them; they are created as needed by the container. I'm glad to hear that. That is a more

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-23 Thread Felipe Schnack
The current wisdom on object pooling is don't do it, with the exception of expensive objects like database connections, etc. Right now, jsp uses object pooling of tag objects, in theory to attain higher performance. This might have made sense back in the old days, but now must Tag objects

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-23 Thread Erik Price
I am guessing you are referring to custom tags? Do you have a link to more information about this because I am new to custom tags and have never heard of this before. Of course I would want to write my tags the right way, whichever way that is... Erik Joe Tomcat wrote: The current wisdom

Tag object reuse (pooling) in jsp 2.0?

2003-01-22 Thread Joe Tomcat
The current wisdom on object pooling is don't do it, with the exception of expensive objects like database connections, etc. Right now, jsp uses object pooling of tag objects, in theory to attain higher performance. This might have made sense back in the old days, but now must Tag objects are

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-22 Thread Craig R. McClanahan
On 21 Jan 2003, Joe Tomcat wrote: Date: 21 Jan 2003 05:46:53 -0800 From: Joe Tomcat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Tag object reuse (pooling) in jsp 2.0? The current wisdom on object pooling is don't do