But for example exist the deltaspike module data . It use dyo and entity. Il 09/mar/2015 23:08 "Romain Manni-Bucau [via TomEE & OpenEJB]" < [email protected]> ha scritto:
> 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" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4674008&i=0>> 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. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://tomee-openejb.979440.n4.nabble.com/create-a-jar-with-jpa-module-from-maven-tp4674006p4674008.html > To unsubscribe from create a jar with jpa module from maven, click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4674006&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzQwMDZ8LTExMTcxODc2MjU=> > . > NAML > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/create-a-jar-with-jpa-module-from-maven-tp4674006p4674009.html Sent from the TomEE Users mailing list archive at Nabble.com.
