Help

Controls

Switch Workspace

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Comparing current revision with historical revision 0.
Document History: Java EE integration wishlist
Current revision:
3
Parent:
Weld
Created On:
19. Nov 2009, 23:47 (gavin)
Last Modified On:
07. Jan 2010, 21:16 (gavin)
Historical revisions:
2 31. Dec 2009, 11:55 (gavin) ShowDiff
1 29. Dec 2009, 23:53 (gavin) ShowDiff
0 (Initial Revision) ShowDiff

From line 0 changed to lines 0 to 14:
Work in progress list of enhancements to for the CDI 1.0 maintenance release.
Work in progress list of enhancements to for the CDI 1.0 maintenance release and CDI 1.1.

++ Clarify lifecycle of resources

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."

++ |@DataSourceDefinition| and |@Alternative|

EE6 introduced the |@DataSourceDefinition| annotation without telling anyone. We should say that if it is used on a class annotated |@Alternative|, then it is only activated if the alternative is enabled.