users@glassfish.java.net

Re: JEE 6 / Glassfish v3 / Eclipse - JPA Entity Manager Issues

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Apr 2010 18:40:15 PDT

Sahoo,

You were 100% correct. For my own education; can you explain why I needed the @EJB annotation in my managed bean? I would of thought the @PersistenceContext annotation would inject the necessary code for the EntityManager to work.

Thanks,
Chris
[Message sent by forum member 'iceman3479']

http://forums.java.net/jive/thread.jspa?messageID=396027