This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 !!!