users@glassfish.java.net

Re: Singleton vs. J2EE spec, how to implement a data cache

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Jan 2009 08:41:51 PST

Hi,

thanks for this answer.

If I put in into a static attribute of a stateless session bean, can I be sure that I don't destroy any bean pooling features?

Let's say I create such field statically and map a cache class to that bean, can I be sure that glassfish will not get into trouble when setting up the pool for that bean?


Best Regards,
Sebastian Mahr
[Message sent by forum member 'smahr' (smahr)]

http://forums.java.net/jive/thread.jspa?messageID=328202