Hi,
I have some problems when calling some local-home interfaces from the ejbCreate method of a Session Bean. My code is as followes:
where the ACCOUNT_CONTROLLER_EJBHOME, CUSTOMER_CONTROLLER_EJBHOME and TX_CONTROLLER_EJBHOME are the session bean that access to my ACCOUNT_EJBHOME, ACCOUNT_EJBHOME and TX_EJBHOME on their respectively ejbCreate method.
The way to call the diferents EJBs is as followes,
but when I try it, the first call to the session bean works ok, but from the ejbCreate of this session bean I cannot call the entities beans. The system throws an exception,
This is in case I name the entities "java:comp/env/ejb/myEJB" because if I just name the
ejb something like myEJB, the exception should be
The question is that the entities interfaces are locals so I do not know the way to call them.
Any help, please?
Thank you,
Jose Alvarez de Lara