Nice project with spring-mvc and sleeping

Please tell me a project in which I can see how to use Spring MVC and Hibernate together correctly. I am new to this framework.

+5
source share
4 answers

Appfuse has a Maven archetype for this stack. Strictly assume that you have a peak. As an alternative, Spring's book in action was a great resource for me in learning Spring and hibernate / spring interactions - use annotation-driven transaction management and you have a really great start.

see here: http://appfuse.org/display/APF/Using+Spring+MVC appfuse-basic-spring is the main archetype of the project.

maven . ) AppFuse-modular- spring

m2e ( maven 2 eclipse), maven, .

:

, , hibernate/maven/xml, : http://www.mkyong.com/hibernate/quick-start-maven-hibernate-mysql-example/

, Spring maven/hibernate xml: http://www.mkyong.com/spring/maven-spring-hibernate-mysql-example/ bo/dao , Spring di -

hibernate , : http://www.springbyexample.org/examples/hibernate-transaction-annotation-config.html http://www.springbyexample.org/examples/hibernate-transaction-annotation-config-code-example.html http://www.mkyong.com/hibernate/maven-hibernate-annonation-mysql-example/

, mvc. struts2, . Spring DI, /. , hibernate/spring. Spring , , , , . ! - , java dev!

+8
+2

If you are new to Spring MVC and Hibernate, I advise you to follow Spring MVC step by step . The only problem with this is the version, the manual uses version 2.5, and the current version 3.1.x, but this is a very good starting point for accumulating knowledge.

0
source

Spring MVC quickstart archetype provides a simple configuration for spring-mvc and hibernate.

0
source

All Articles