This content has been marked as final.
Show 2 replies
-
1. Re: HA-Singleton on AS7
pferraro Sep 7, 2011 9:40 AM (in response to venkman)What I'd like to do in AS7.1 is to implement HA singletons as @Clustered @Singleton EJBs.
HASingleton lifecycle hooks would leverage @PostConstruct @PreDestroy methods. The AS will handle the remaining instrumentation.
-
2. Re: HA-Singleton on AS7
wolfc Sep 7, 2011 10:29 AM (in response to pferraro)Note that this is contrary to the spec:
EJB 3.1 FR 4.8 Singleton Bean
A Singleton session bean is a session bean component that is instantiated once per application. In cases
where the container is distributed over many virtual machines, each application will have one bean
instance of the Singleton for each JVM.
And throw away that note.