scopehell
sample for studying Java EE scopes
how to use
comparing scope life time for Java EE. currently, checking request, view, session and application scopes.
Every time you click "CountUp(with navigation)", the request is sent and page will be refreshed. If you click "CountUp(with ajax)", the counter display will be updated.
With JDK9, following dependency is necessary. javax.xml.bind jaxb-api 2.3.0
I used WildFly to check. You can check its life cycle event in server.log. If you configure log levels, life cycle events can be checked.
- javax.enterprise.resource.webcontainer.jsf.timing
- javax.enterprise.resource.webcontainer.jsf.lifecycle