[jboss-user] [EJB/JBoss] - SessionBeans referring each other locally
rabbiaqaswar
do-not-reply at jboss.com
Thu Apr 10 17:02:17 EDT 2008
Hello
I am using Enterprise Java Beans (EJB) 3.0 (jdk 1.5), the application serer is Jboss 4.2.2 GA.
In the application, there are two Stateless SessionBeans (BankSessionBean & UserSessionBean) in same jar file referring to same PersistenceContext. Both of these session beans have their local and remote interfaces. Now in BankSessionBean i am locally referring to UserSessionBean.
@EJB
| UserSessionBeanLocal userSessionBean;
and in UserSessionBean i am locally referring to BankSessionBean instead of remote lookup.
@EJB
| BankSessionBeanLocal bankSessionBean;
But when i deploy the jar file, it is not successfully deployed. Earlier i was only referring to UserSessionBean from BankSessionBean and the jar was deployed successfully.
What can I do to resolve this problem?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143310#4143310
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143310
More information about the jboss-user
mailing list