This content has been marked as final. Show 1 reply
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.