Last updated on JUNE 09, 2017
Applies to:Oracle Weblogic Server - Version: 10.3.2
Information in this document applies to any platform.
In WLS10.3.2, injected JSF Bean is not calling methods annotated with @PostConsruct or @PreDestroy.
Weblogic should honor this based on documentation. "The Java EE programming model uses the JDK 5.0 annotations feature for Web containers, such as EJBs, servlets, Web applications, and JSPs"
And from the JSF 1.2 specification:
In addition to the annotations from Section 14.5 of the Servlet 2.5 Specification, JSF implementations running in a Java EE 5 compliant container must support attaching the @PostConstruct and @PreDestroy annotations to aid in awareness of the managedbean lifecycle.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms