Frameworks| Hibernate| Struts| JSF| JavaFX| Ajax| Spring| DOJO| JDO| iBatis| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
 
 


 

Struts Hibernate

                         

Hibernate is Object-Oriented mapping tool that maps the object view of data into relational database and provides efficient persistence services such as create, read, update and delete (CRUD).

In this tutorial we will implement small search engine application that shows a search form to the user. User enters search string and presses search button. Struts framework process the request and passes it to the action for further processing. Action class uses Hibernate to make database calls and retrieves matching records from database and results are displayed to the user.

Full example code is provided with the tutorial and you can download and start working on it for your project or to learn Struts and Hibernate Integration. You can download the source code from here.

  1. Setting up MySQL Database and table
    This section describes how to setup database and populate it with the data. We are using MySQL Database for this tutorial.
      
  2. Downloading Struts, Hibernate and Integrate It
    This section explains you to setup the develop workbench for our Struts Hibernate tutorial
      
  3. Writing Hibernate configuration file, POJO class and Tutorial.hbm.xml (Hibernate mapping class)
    In this section we will write required hibernate objects like configuration files and then integrate all the stuffs.
      
  4. Developing Hibernate Struts Plugin
    In this section we will write Hibernate Struts Plugin Java code and integrate it with the Struts.
     
  5. Writing Web Client to Search the database using Struts Hibernate Plugin
    In this section we will write web client to test struts Plugin. We will be developing a search form to search the tutorials from the table.
     
  6. Build and testing the application
    In this section we will build our Struts Hibernate Plugin Application and then test.

                         

» View all related tutorials
Related Tags: c apache http hibernate deployment com file j2ee ant development ui process build application script software struts io cgi download

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

9 comments so far (
post your own) View All Comments Latest 10 Comments:


http 404 - servlet action is not available

It shows error when i click on serch button after inserting "java" string in txtbox.
I am using Oracle 10g database.
Please help me to run this application.


Posted by Yogesh Jadhav on Thursday, 10.2.08 @ 17:48pm | #80844

hi,
thx friends ...
really gr8 material .
can i send me some materail related to hibernet ..

Posted by umesh choubey on Thursday, 12.20.07 @ 19:26pm | #43124

the example is good, but depends of Hibernate. What if we want to change the mapping tool !!

regards
doxumd

Posted by doxumd on Wednesday, 11.21.07 @ 19:05pm | #38191

Hi ,
It is a good tutorial. However, the application will depends of Hibernate... what if we decide to replace Hibernate by another tool that don't use sessionFactory (like JDBC for example) !!??

regards
Doxumd

Posted by doxumd on Tuesday, 11.20.07 @ 18:18pm | #38055

thank a lot for your sharing. May I have your yahoo nick to contact quickly. Please email me if you agree.
Thank.
Regard
HuyDo

Posted by huydp on Sunday, 11.18.07 @ 18:46pm | #37747

Ya! Thank a lot for this tutorial! It's very useful for all beginers that want to study Struts and Hibernate
Again, thank you!

Regards,
Linh Nguyen.

Posted by Linh Nguyen Hong on Friday, 04.27.07 @ 09:33am | #15001

Hi, The tutorial is very helpful for the beginner who wants to know about hibernate.

Posted by umashankar on Monday, 04.9.07 @ 04:09am | #13614

it is good tutorial.
Thanks alot

Posted by Lam nguyen on Friday, 02.9.07 @ 10:43am | #6930

Hi,
This tutorail is very nice and easy to learn for beginniger. Language is easy to read and understand.

Thank's for roseindia......

Regards
bandu kank

Posted by Bandu Kank on Tuesday, 01.16.07 @ 12:47pm | #3611

Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.