You need openjpa whereever it comes from. Issue then is client dto - entities for you - will depend of it as well. My advice us to not use these broken pattern without layers even if technycally it can work. Le 9 mars 2015 22:15, "mauro2java2011" <[email protected]> a écrit :
> Hi all. > i would create a module jpa with entities enhanced and > meta-inf/persistence.xml into it. > > Next i would use this jar into a web app and also a java se application > that > call a remote ejb on tomee. > > With remote call the entities are passed at and from web server at java se > client . > > So the client get enhanced entities from the compilated maven project. > > So i ask: i can put into pom.xml of the jpa module the dependencies > openejbopenejb-core for compile and ehance the entities without reference > openjpa module ? Openjpa is already referenced into openejb-core ?? > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/create-a-jar-with-jpa-module-from-maven-tp4674006.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
