ViewScopedbeans are using native
@ViewScoped annotation for CDI. However,
@PreDestroy method never runs when the page on browser is refreshed (by F5 or by click in refresh on browser). So another
ViewScoped bean is created but the later one is not 'destroyed'.
- Red Hat JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.