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.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: April 14, 2006 If you enjoyed this post then why not add us on Google+? Add us to your Circles