GeezerVison is showing github.com — @Startup in all components · Issue #47 · javaee/javaee-spec
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
@Startup in all components #47Description@startup is currently allowed only on EJB and should be allowed on any Java EE component. Activityglassfishrobot commented on Jun 19, 2015 glassfishrobot commented on Jun 19, 2015 glassfishrobot commented on Jun 19, 2015 glassfishrobot commented on Jun 19, 2015 reza_rahman said:
Needless to say I agree with this and indeed the issue I had created some time ago has a relatively high amount of votes by EJB spec standards: https://java.net/jira/browse/EJB_SPEC-19. glassfishrobot commented on Jun 19, 2015 glassfishrobot commented on Jun 19, 2015 glassfishrobot commented on Jun 21, 2015 glassfishrobot commented on Jun 21, 2015 arjan_t said:
Note that instead of duplicating existing API using CDI as real backbone for all spec would solve it
+1
ie allowing servlet and web components to be cdi beans and not just injected
Funny that you mention this, since for OmniFaces we were prototyping exactly this 
A CDI bean that acts, more or less, exactly as a Servlet. It's a little bit a continuation of our @Eager/@startup bean above. In broad lines, an extension collects those beans, then a special Servlet delegates to them. For the user, the new "CDI Servlet" IS the Servlet and except for the stack trace doesn't get to see the "real" Servlet.
Several specs are already rebasing on CDI, but it's going slowly and sometimes even taking a step back (see what happened with SERVLET_SPEC-116) glassfishrobot commented on Apr 25, 2017 This issue was imported from java.net JIRA JAVAEE_SPEC-47
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|