Hi, I thought that JBoss had a similar facility to that offered by Sun for automatic startup of classes. For example Sun app server can use a Lifecycle module.
Is the best way in JBoss to use MBean? Are there any other ways (apart from web.xml - servlet/load-on-startup) I would like to automatically startup a class that holds a cache of data that changes infrequently. I would like the ability to refresh this cache (perhaps from jmx) and lock access to the cache during update. Can MBeans provide locking or would I simply check a state variable that forces a wait whilst refresh takes place? Thanks, Peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857864#3857864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857864 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user