[jira] Commented: (BEANUTILS-49) [beanutils] Lock in BeanUtilsBean.getInstance(BeanUtilsBean.java:78)

2006-11-07 Thread Kenneth Xu (JIRA)
[ http://issues.apache.org/jira/browse/BEANUTILS-49?page=comments#action_12448029 ] Kenneth Xu commented on BEANUTILS-49: - There is no doubt that Struts code should be changed to make best use of beanutils. But I believe there is still

RE: is there a context sensitive properties configuration class available?

2006-11-02 Thread Kenneth Xu
I use commons Configuration. One config file for each environment and use composite configuration to include a common one. System property to define which environment config to pick up. -Original Message- From: Zhang, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 5:10

RE: Logging: SimpleLog not thread-safe

2006-10-12 Thread Kenneth Xu
in the system that ever logs a message. On Wed, 2006-10-11 at 17:42 -0400, Kenneth Xu wrote: Hi, I think a thread local formatter will give us better performance than creating one new in every log invocation. Just my 2 cents, Thanks, Ken -Original Message- From: Simon Kitching [mailto

RE: Logging: SimpleLog not thread-safe

2006-10-12 Thread Kenneth Xu
OTOH - how much time costs the creation and usage of such an object? Good question. I wrote a rough test code and posted in my earlier email, the result on my P-M 1.2G laptop is 2797 v.s. 22656 in 1M calls, so really not much.

RE: Logging: SimpleLog not thread-safe

2006-10-11 Thread Kenneth Xu
Hi, I think a thread local formatter will give us better performance than creating one new in every log invocation. Just my 2 cents, Thanks, Ken -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 5:05 AM To: Jakarta Commons Developers

RE: Logging: SimpleLog not thread-safe

2006-10-06 Thread Kenneth Xu
Solution: remove the dateFormatter instance variable and instantiate a new DateFormat each time in the log method, e.g. How about a ThreadLocal variable? Thanks, Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [jira] Commented: (COLLECTIONS-110) [collections] Support parametized classes with commons.collections.

2006-06-21 Thread Kenneth Xu
. Interfaces like MulitMap cannot be generified and still maintain backward compatible given the Map definition in JDK 5. We can deprecate it and give the Generics version a new name like One2ManyMap. Kenneth Xu - To unsubscribe, e-mail

[jira] Commented: (COLLECTIONS-110) [collections] Support parametized classes with commons.collections.

2006-06-18 Thread Kenneth Xu (JIRA)
[ http://issues.apache.org/jira/browse/COLLECTIONS-110?page=comments#action_12416664 ] Kenneth Xu commented on COLLECTIONS-110: I have been digging hard into mailing archive recently as well as spent sometime poking around both [EMAIL PROTECTED

RE: How can I search the mailing list archive

2006-06-18 Thread Kenneth Xu
I appreciate all the answers but didn't except to bring up a debate. IMHO, can we at least have a mailing list FAQ to tell people what options we have today to search the archive? I did send request to [EMAIL PROTECTED] but got an empty FAQ back :-) If there is anything I can do, I would happy to

RE: How can I search the mailing list archive

2006-06-18 Thread Kenneth Xu
Thanks Phil, very comprehensive information. I guess I should have started from http://jakarta.apache.org/site/mail2.html#Commons, but I lost at http://jakarta.apache.org/commons/collections/mail-lists.html. I just checked a few other commons subprojects like BeanUtil and Lang they all have a

RE: How can I search the mailing list archive

2006-06-18 Thread Kenneth Xu
Good idea. The Mailing Lists link on the commons nav now points to the commons anchor in mail2.html. The top of that page includes a link to http://jakarta.apache.org/site/mail.html#archives. Might be better to add a link to the latter in the commons anchor blurb or just direct the nav

How can I search the mailing list archive

2006-06-16 Thread Kenneth Xu
Hello, I apologize if this is a stupid question. I know there is an archive but I didn't find a way to search it. I have tried to request for info and FAQ but none available. [EMAIL PROTECTED] [EMAIL PROTECTED] Thanks in advance! Regards, Kenneth