This is a discussion on How to use hibernate in Struts J2ee application? within the Java Programming forums, part of the Software Development category; How to use hibernate in Struts J2ee application?Is Any sample availabe?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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... |
| |||
| hi what is hibernate can anyone say me a simple example. i need one from scratch.
__________________ Thanks & Regards, Jegan CBK "We will either find a way, or make one!” |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java/J2EE interview Questions | Venkat | Interview Questions & Answers and Tips | 40 | 04-06-2008 08:42 PM |
| .Net Vs J2EE which is best for Web Application in all aspects | Venkat | ASP and ASP.NET Programming | 13 | 08-22-2007 04:10 AM |
| ASP.NET and Struts: Web Application Architectures | kingmaker | ASP and ASP.NET Programming | 7 | 08-05-2007 10:59 PM |
| Why should we go for interservlet communication in J2EE? | mobilegeek | Java Programming | 1 | 07-25-2007 10:33 PM |
| Add and configure Application server in Eclipse (Plugin:Myeclipse) J2EE Editor | kingmaker | Java Programming | 0 | 07-15-2007 10:54 PM |