I am using Hibernate 4, JSF, and Spring in my project.
I have tables like: ValidStatus, Valid Group, ValidAccess, in which I already populated some default data.
I have to put all these tables data in the Cache so that, anytime in different pages, I can use these table for authorizing users.
How can we cache these table data? Do I have to use the Second-Level Cache for this scenario or something else will work as well?