RE: bean:message , reads only once the message from MessageResource, is it caching messages for later use?

2003-08-19 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
thanks James, is it cause a performance problem calling formats.clear() for each message , caching feature seems good, I must use this caching feature also , it seems to me meaningfull to call formats.clear() when the my cache reloaded ,, my DAO code inside getMessage only reads messages from

RE: bean:message , reads only once the message from MessageResource, is it caching messages for later use?

2003-08-19 Thread James Mitchell
-Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) thanks James, is it cause a performance problem calling formats.clear() for each message , I'm not sure how much of a performance hit you would take. The bottleneck in most applications is typically

RE: bean:message , reads only once the message from MessageResource, is it caching messages for later use?

2003-08-18 Thread James Mitchell
Yes, it is true that it is cached. No, it is not configurable. That's just the way it was designed. To get around it without actually changing the distribution, you'll need to add something like this to your implementation's getMessage(Locale locale, String key) method: public String