The moose likes JPA Certification (OCEJPA) and the fly likes Packaging - JPA Persistance Archive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » JPA Certification (OCEJPA)
Bookmark "Packaging - JPA Persistance Archive" Watch "Packaging - JPA Persistance Archive" New topic

Packaging - JPA Persistance Archive

Arek Przechodzki

Joined: Apr 30, 2014
Posts: 1

JPA 2.0 Specification enlists possible points of persistance unit root. Apart from EJB, WAR, and application client jar we have EAR lib folder.
I wander though, if we may package persistance unit in a separate persistance archive jar and put it not in EAR lib, but in EAR directly, as a separate module.

I'm thinkink about:


Thanks in advance for your thoughts
Luan Cestari
Ranch Hand

Joined: Feb 07, 2010
Posts: 162

I already saw this works with JBoss/Wildfly (using jboss-modules feature or the manifest.mf) (If I understood correctly)

Please, visit me for some cool tech post at www.ourdailycodes.com
I agree. Here's the link: http://aspose.com/file-tools
subject: Packaging - JPA Persistance Archive
Similar Threads
package structure during design
EJB can't find Optional Package and thus Persistence Unit in it
persistence unit scope
JPA Newbie Question
Persistent Unit at EAR level