Open glassfishrobot opened 13 years ago
Reported by abien
mvatkina said: Support for @Inject should be defined at platform level.
@bshannon said: We've had discussions about providing "default producers" for all Java EE injectable resources, but it's more difficult than originally expected to make this work right. It's still an interesting idea that we hope to explore more in the future.
agoncal said: Being able to @Inject ServletContext and WebServiceContext (JAX-WS) would be awsome too
ldemichiel said: Agree. We expect to re-open this discussion in Java EE 8.
This issue was imported from java.net JIRA JAVAEE_SPEC-14
All "default" resources (like UserTransaction, SessionContext), injectable with @Resource in Java EE 6 should be also injectable with @Inject as well.