This content has been marked as final.
Show 3 replies
-
1. Re: @Service POJO referencing a Session Bean
jc7442 Oct 11, 2006 3:57 PM (in response to gommo)Use @Stateless or @Stateful annotations
There is basic samples in the tutorial -
2. Re: @Service POJO referencing a Session Bean
gommo Oct 11, 2006 6:59 PM (in response to gommo)Sorry to confuse, the session beans are fine, I have no issues looking them up from clients or other session beans, but it appears to me that when I deploy the .ear file, the Service bean is started before jboss even deploys the session beans.. So thats my real issue?
Thanks -
3. Re: @Service POJO referencing a Session Bean
plexiq Oct 12, 2006 8:04 AM (in response to gommo)I had the same problem, i solved it by adding @Depends to the service object.
@Depends({ "...,name=YourSessionBean,service=EJB3" })
After adding the dependencies it works fine for me.