I have a strange problem in using an EJB. I have a pure java class in which a dao class which is an Stateless session bean. This bean is injected in another EJB and passed to this pure class but calling any method of this bean will fail. I tried to look it up inside that pure java class and the container is able to look it up but again any method invocation will fail!! Exception is very vague and I can't understand what happens. Please help me out of this since I am completely stuck!!!
Moayad Abu Jaber
SCJP 5.0, SCWCD 1.4, SCBCD 5.0
Joined: Jul 12, 2005
Moayad Abu Jaber wrote:please post your full code !
Sorry since this is a banking system and very large scaled, the code is really complicated but I came to happen that when this class is called the getRollbackOnly() returns true! I am sure that during the process no exception were occured !!!
subject: EJB5017: Exception while running preinvoke