Last week I spent some time to bring together Spring MVC, Apache Tiles, Hibernate+JPA with JTA.
My EAR application consists of two modules: WAR and EJB project.
WAR project: Spring MVC 3.1.1, Apache Tiles,Maven
EJB project: Hibernate through JPA, Spring 3.1.1, JBoss AS 7.1, JTA data source, Maven.
Configuration artifacts are:
- pom.xml in WAR project
- spring.xml in WAR project
- web.xml in WAR project
- pom.xml in EJB project
- persistence.xml in EJB project
Pom.xml in war project
Contains Spring MVC and Apache Tiles dependencies