Meaningless Drivel is fun!
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 163

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

Please, visit me for some cool tech post at
I agree. Here's the link:
subject: Packaging - JPA Persistance Archive
It's not a secret anymore!