Hybrid Multi Module Maven Project with Spring Roo - Multiple JPA Persistence Units -


i'm trying create hybrid multi-module maven project, projects managed spring roo , others independent.

this project structure far:

root project (root pom)
|
| -- commons   (maven module, spring roo managed, jpa persistence module)
| -- core           (maven module, spring roo managed, jpa persistence module)
| -- backoffice (maven module, spring roo managed, webapp)
| -- frontoffice (maven module, webapp)

maven dependencies:
- backoffice < core < commons
- frontoffice < core < commons

so far, good. can build artifacts , manage above projects using spring roo. however, since i'm using spring roo in both persistence modules, have 2 jpa persistence units. delegate responsibility frontoffice or backkoffice web application, but, since persistence modules managed using spring roo, needs have jpa configuration.

do have suggestions on how organize multi-module maven project when of modules spring roo managed?

thanks , advice's

best regards

jsimas

i know i'm not pointing answer, might help.

http://labs.bsb.com/2010/11/configuring-modular-jpa-applications-with-spring/


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -