IT Community - Software Programming, Web Development and Technical Support

How to use hibernate in Struts J2ee application?

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?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Java Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-20-2007, 11:36 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Question How to use hibernate in Struts J2ee application?

How to use hibernate in Struts J2ee application?Is Any sample availabe?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-29-2007, 11:47 PM
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...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-18-2008, 05:53 AM
Kamalakannan Kamalakannan is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 299
Kamalakannan is on a distinguished road
Default Re: How to use hibernate in Struts J2ee application?

Hi Buddy,

Can anyone tell me What is the advantage of hibernate?
__________________
Thanks & Regards,
R.Kamalakannan.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-12-2008, 03:16 AM
jegan jegan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 161
jegan is on a distinguished road
Default Re: How to use hibernate in Struts J2ee application?

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!”
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 02:59 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0