[jboss-user] [JBoss Seam] - Storing large recordset in memory

damianharvey do-not-reply at jboss.com
Fri Oct 26 12:00:29 EDT 2007


I have a table with a large number of very static records that I'd prefer to store once when the application starts and have every user reference rather than hitting the database.

What is the best/nicest way to achieve this? The obvious contenders so far:
1. Application scoped Bean that I load using @Startup.
2. JBoss Cache

Can anyone recommend one approach over the other or suggest an alternative?

Thanks,

Damian.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099385#4099385

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099385



More information about the jboss-user mailing list