An mbean that bound a map into JNDI would be one way.
--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
Michał Drozd wrote:
Hi,
I wonder what is the best practise to hold application-wide data for one
SessionBean (stateless).
Here is the situation:
I have small amount of data which is used by one stateless session bean.
Updates of data occurs with very low frequency.
these data i would keep in memory (one HashMap will be enought) and load
at deploy time (and sometime updates from my session bean).
[ sorry if this description isn't as clear as it would be ;-) ]
I see at least three solutions, but no one is satisfacting myself ...
What is the best practice for this situation ?
Thanks in advance,
Best regards,
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user