This content has been marked as final.
Show 4 replies
-
1. Re: Is @Singleton completely broken on 7.1.1.Final?
cfang Nov 2, 2012 9:43 PM (in response to wschroeder)You cannot have both @Singleton and @Stateless on the same bean class. Use either one. @Singleton is a type of session bean just like stateless and stateful.
-
2. Re: Is @Singleton completely broken on 7.1.1.Final?
wschroeder Nov 2, 2012 10:36 PM (in response to cfang)Well, that certainly sounds reasonable. I was basing it on an obviously flawed example I found online that combined them. Figures.
-
3. Re: Is @Singleton completely broken on 7.1.1.Final?
wdfink Nov 3, 2012 3:27 PM (in response to wschroeder)You should have a look to "the JBoss Way" quickstarts you will find reasonable examples for JavaEE and JBoss
-
4. Re: Is @Singleton completely broken on 7.1.1.Final?
nickarls Nov 6, 2012 2:12 AM (in response to wschroeder)You could a file a JIRA for a WARN message if you have both annotations on the same bean.