Details
-
Type:
Feature Request
-
Status: Pull Request Sent (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0, 1.1.PFD, 1.2.Final
-
Fix Version/s: 2.0-EDR1
-
Component/s: Packaging and Deployment
-
Labels:None
-
Epic Link:
Description
Weld and other CDI impls allow an embedded mode.
See http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html#d0e5417 for example
Gliffy Diagrams
Issue Links
- is duplicated by
-
CDI-122
Create a standard way to bootstrap a CDI container outside of a Java EE environment for unit testing and other JSRs that need CDI features
-
- Closed
-
From Rick Hightower:
There should be a standard, minimalistic way to bootstrap a CDI container outside of Java EE. This is useful for unit testing extensions, and for other JSRs that need to do annotation processing, injection and interception. Instead of those other JSRs defining their own mechanism for annotation processing, injection and interception they can just use CDI.
Also Java EE has clients (for JMS, RMI, Services). The same features on the serverside (injection, interceptions, proxying) are equally useful on the client side.
There should also be some clear walls between what is included in Java SE CDI and Java EE CDI. Java SE CDI being a subset and core of Java EE CDI. This modularity should be better defined in the specification.