This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: EJB 3.1 Singleton bean across EARswdfink Jul 18, 2012 11:23 AM (in response to mkind)1 of 1 people found this helpfulI suppose it will be deployed as a different applcation, but I'm not 100% sure ATM 
- 
        2. Re: EJB 3.1 Singleton bean across EARsmkind Jul 18, 2012 11:25 AM (in response to wdfink)"as a different applcation" = "many instances of singleton"? 
- 
        
- 
        4. Re: EJB 3.1 Singleton bean across EARsjason.greene Jul 18, 2012 11:49 AM (in response to wdfink)Wolf-Dieter Fink wrote: I suppose it will be deployed as a different applcation, but I'm not 100% sure ATM Yes that is correct. A singleton's uniquness incorporates the deployment which contains it. So if you have another deployment wiht the same class it's a different singleton. If you want to share a singleton across deployments, then you have to deploy it separately and ensure that communication is over a shared class (e.g. a module import or class-path reference to a common interface) 
 
     
    