tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Taprogge <Philipp.Tapro...@gmx.net>
Subject Re: StringBuffer Factory?
Date Sun, 28 Dec 2003 01:53:33 GMT
Hi!

George Sexton wrote:

> This is a really bad idea because of the implementation of
> StringBuffer.toString() and setLength().

Well, Ok. But this is (IMHO correctly) regarded a bug in the current 
StringBuffer implementation; a bug that, with luck, will be fixed some 
day. Or you could write your own StringBuffer class.
Concider now a StringBuffer that's working properly. What is more 
expansive in terms of runtime: the JNDI lookup of a pooled instance or 
the instanciation of a new one?

Regards,

	Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message