This content has been marked as final.
Show 1 reply
-
1. Re: Hot Deployment, EntityManager and RESTeasy problem
jbalunas.jbalunas.jboss.org Jun 19, 2008 5:10 PM (in response to regenbahn)To answer you questions:
Is there a way for RESTeasy to load seam components in WEB-INF/dev?- Not sure about resteasy settings, but you can make Seam not deploy to the WEB-INF/dev directory and instead use /classes.
If not, can I use the @In Annotation for the EntityManager to get access to seam managed persistence context in RESTeasy?- If it is a seam component then yes - you should be able to inject it, but as Bill Burke said you should be able to do it just using EJB annotations if you don't need it to be a seam component.
All the examples I found are using EJB/Seam components, not regular seam beans.- Do you mean seam examples? - if so the JPA example does not use EJB's, and neither does a seam-gen WAR project.