Hi,
In our webapp, I've been querying the DB for role and group info for every request and putting the information in the servlet request. I'm wondering if performance can be increased by placing the data in the http session instead and only querying the values from the DB when it has changed. It would increase the complexity of the underlying code but it would probably be worth it if performance would improve. I understand hibernate can do some caching as well, so I'm wondering how that compares.
Thanks, Jason
|