[ 
https://issues.apache.org/jira/browse/ARIES-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on ARIES-455 started by Timothy Ward.

> Allow the Aries JPA runtime to process WAB files
> ------------------------------------------------
>
>                 Key: ARIES-455
>                 URL: https://issues.apache.org/jira/browse/ARIES-455
>             Project: Aries
>          Issue Type: Improvement
>          Components: JPA
>    Affects Versions: 0.3
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>             Fix For: 0.3
>
>
> The Aries JPA runtime currently deliberately ignores WAB files because it 
> isn't clear whether they should be processed according to Java EE rules or 
> not.
> I propose the following:
> * A WAB with a Meta-Persistence header should be treated like any other 
> persistence bundle
> * A WAB with no Meta-Persistence header should follow the rules of the OSGi 
> Web Applications specification. Namely the JPA runtime should look for 
> META-INF/persistence.xml in any locations listed on the bundle classpath (or 
> in the root if no classpath is defined).
> This is not the normal Java EE behaviour. We will not find 
> META-INF/persistence.xml in any jar in WEB-INF/lib, or in WEB-INF/classes 
> unless it is explicitly on the bundle classpath. This is, however, consistent 
> with normal WAB behaviour and I believe is therefore the correct approach.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to