Vladimir Kishlaly [
https://community.jboss.org/people/mkind] created the discussion
"EJB 3.1 Singleton bean across EARs"
To view the discussion, visit:
https://community.jboss.org/message/748798#748798
--------------------------------------------------------------
Hello!
As I know, @Singleton has only one instance per JVM.
I have commons.jar with com.example.MyBean (singleton) and commons.jar deploys to several
EARs (inside lib folder). Will I have an access to only one instance from any EARs or each
EAR will have own instance of the MyBean?
Thanks,
Vladimir
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/748798#748798]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]