-
Jul 9th, 2007, 09:33 PM
#1
how to use hibernate sessionfactory in startup servlet
I would want to use Spring with hibernate caching in my application. My goal is to use hibernate to load my objects upon server startup thru a startup servlet I configured in web.xml.
Can I use the DAO and SessionFactory that I have configured in the applicationContext.xml in my servlet? Pls provide samples or other ways to implement.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules