2

In my 3 layer maven application (enterprise application archetype with an extra module for domain-related classes) I'd like to keep the domain module as clean as possible. My persistence.xml, for example, is in the ejb module. Following that train of thought, I'd like to generate the JPA static metamodel classes also on the EJB module, even though the entities are not there, but I can't make it work.

Is it possible to do that kind of setup? I'm using eclipselink, btw.

synti
  • 67
  • 7
  • Use Netbeans select Enterprise Application from Maven. This create the project by separating EJB with JPA module to Web module. – Masudul Jun 29 '13 at 10:16
  • I'd like to keep the JPA module separated, so it'll need a project for itself. – synti Jun 29 '13 at 10:35
  • This related question may provide some help: http://stackoverflow.com/questions/22946542/running-eclipselink-metamodel-generator-in-sbt – Richard Gomes Apr 17 '14 at 17:43

0 Answers0