[jboss-dev-forums] [JBoss AS7 Development] - Re: Classloader parent delegation on Jboss AS7
Jason Greene
do-not-reply at jboss.com
Mon Jul 11 12:59:23 EDT 2011
Jason Greene [http://community.jboss.org/people/jason.greene] created the discussion
"Re: Classloader parent delegation on Jboss AS7"
To view the discussion, visit: http://community.jboss.org/message/614498#614498
--------------------------------------------------------------
If you are using EJB or JPA spec apis you end up with a module dep on the new version automatically being added.
See: https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments
We plan to add a feature in a future release (7.1 at the latest) that allows you to install custom JPA providers. Optionally, if you are using hibernate directly, and the JPA inclusion isn't really used, you can exclude the auto hibernate dep (see exlusions):
https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7
Note that the reason that we have to have some kind of provider/implementation is that JPA has all kinds of requirements about how the container should process the deployment. E.g. @PersistenceContext has to properly injected at certain times in the container lifecycle and properly interact with the TM. So a standalone library, wihtout any kind of app server integration is going to not be 100% operational
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614498#614498]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110711/437dcce4/attachment.html
More information about the jboss-dev-forums
mailing list