I have an entity bean which maps to a database table. I need to retrive some data from database through this entity bean when applicaiton starts up so all other back beans and ejbs can access it. I am thinking of making an application scoped object, which retrives data when applicaton starts up. What's the best way to make the object ? If it's in a J2SE environment, I would make it a Pojo with all field static and retrive data through jdbc in static block. Now is seam environment, I think it should be a application scoped object. Should I make it a backbean, or stateless/stateful ejb. This object is gonna be frequently access by other component So I wanna know what would be the best way to achive the performance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920904#3920904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920904 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
