I�m new in this forum and I�m using Head First EJB to prepare to scbcd. This book is really great, but I find one thing I don�t undestand very well. On page 184, from the diagram one can say that you can reach "does not exist" state from a "no state", when the bean throws system exception. I think the bean can only throws an exception when executing a method, or in "method ready" state. Another thing is at page 227, another diagram. By this diagram, who calls "new" on SessionContext is Home Object, is this correct? I�m little confusing...
that�s what I�m trying to say. From the diagram on page 184, you can reach the "does not exist" state from no other state, case the bean throw a system exception. The question is: What is the bean state when it trows a system exception? I think it should be "method ready"..
My, my, aren't you a big fella. Here, have a tiny ad: