4 Replies Latest reply on Jul 18, 2012 11:49 AM by Jason Greene

    EJB 3.1 Singleton bean across EARs

    Vladimir Kishlaly Newbie


      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?