Services | Updates | Contact
Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML

AST Reproduce Plugin
AST Reproduce is a plugin for the Eclipse IDE. The purpose of this plugin is to generate code, that creates an Abstract
 
JPanel - Drawing Area 2
To initialize the panel -- Constructor
 
More Tutorials...

Search All Tutorial
Top Search: Loan Struts Open Source

Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

 
 
Struts

 
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.

                         

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

Current Comments

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

really nice

Posted by lakshmi on Thursday, 06.28.07 @ 19:31pm | #20336

good.if you are providing hibernate configuration file tags and their attributes description is very good

Posted by parhiban on Saturday, 06.2.07 @ 11:31am | #18001

a very comprehensive website for java beginners , i really like it so much.

Posted by hafsa qasim on Saturday, 03.10.07 @ 14:33pm | #11316

struts hibernate tutorial are very efficiant for new programmer.
but you should enhance this tutorial for more data persistance object.currently you are giving only one class tutorial.

thanks for guidance
Raghvendra

Posted by raghvendra on Wednesday, 02.21.07 @ 12:59pm | #8690

THIS is a very excelent article to explore your self in Struts- hibernet communication.

Posted by amrendra kumar singh on Saturday, 01.6.07 @ 15:56pm | #2771

Remarkable site for studying jakarta struts. I will tell to my friends. ok.

Posted by john abraham on Friday, 12.8.06 @ 20:13pm | #660

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

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.

  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

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

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

Copyright © 2007. All rights reserved.