Here's another area of clarification:
The spec is underdefined in section 7.3.6. Various clarifications are
needed, including that:
* the instance of EntityManager associated with a resource
declaration is the same instance that would be injected using
@PersistenceContext, i.e. the JPA transaction-scoped container-managed
persistence context reference,
* stateful EJB references are not automatically destroyed by the
container (the app must call the @Remove method explicitly), and
* EJB and web service references are truly @Dependent scoped
(instance per injection)
We should remove this sentence: "When the destroy() method is called,
the container discards this internal reference and performs any
cleanup required of state associated with the client or transaction."
On Tue, Dec 29, 2009 at 4:44 PM, Gavin King <gavin.king(a)gmail.com> wrote:
Folks, I want to start work on the first CDI maintenance release,
and
push it out fairly quickly. We've already discussed a couple of things
that we wanted in CDI 1.0, but had to delay to the maintenance
release:
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org