How to integare struts and hibernate

Showing Answers 1 - 3 of 3 Answers

The Hibernate core provides optional components for certain common integration scenarios, including integration with JTA, JNDI-bound datasources, JMX, JCA, and the transaction managers of all popular application servers. In addition, some frameworks like Spring and Keel ship with built-in Hibernate support, and plugin support is available for others including Tapestry, Apache Avalon, and PicoContainer. JBoss Application Server features special support for Hibernate archive deploymentand integration of Hibernate as a JMX-managed component. Check out a tutorial on http://www.laliluna.de/struts-hibernate-integration-tutorial-en.html for the details.

  Was this answer useful?  Yes

Jagmohan

  • May 17th, 2006
 

you can use plug-in for that  in struts.

Make a plugin by implementing plugin interface in java and then override the init() method(load your hibernate config. files)  and destroy() method to free the resources.

  Was this answer useful?  Yes

Nagaraju

  • Jul 23rd, 2006
 

Jagmohan,

              I am really happy after saw your answer.It is the perfect and Suitable answers.

Thanks & Regards,

Nagaraju.

  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions