View Single Post
  #2 (permalink)  
Old 07-30-2007, 12:47 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Thumbs up Re: How to use hibernate in Struts J2ee application?

Hi buddy,

The procedure to use Hibernate within your application requires the following steps:

1. Create a Hibernate configuration object
2. Use the Hibernate configuration object to create a Hibernate factory object
3. Use the Hibernate factory object to create a Hibernate session object
4. Use the Hibernate session object to start a transaction (optional)
5. Employ the Hibernate session object to create, read, update, and delete data on the database
6. Commit the transaction (optional)
7. Close the session

For more Detail, Go thru the article by George Franciscus and Danilo Gurovich.

Hope usefull.
__________________
The OXYGEN
Delivers edgy, intelligent Technology to all...
Reply With Quote