[jboss-user] [EJB/JBoss] - SessionBeans referring each other locally
do-not-reply at jboss.com
Thu Apr 10 17:02:17 EDT 2008
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.
| UserSessionBeanLocal userSessionBean;
and in UserSessionBean i am locally referring to BankSessionBean instead of remote lookup.
| 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?
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