This is probably a stupid question, but I just wanted some clarification. Does the ejbRemove() container callback in the actual bean class get called in response to any of the remove() methods? The two in the home class and the one in the component class? Thanks
I can say that for 1. enity bean. client calls remove(), server calls ejbRemove() 2. stateFUL bean. client calls remove(), server calls ejbRemove() 3. statLESS bean. client calls remove(), server DOES NOT call ejbRemove(). server calls ejbRemove() on statless bean when it decides to reduce pool of "method-ready" pool. I can be wrong.
Exam 1Z0-810: Upgrade to Java SE 8 Programmer Study Guide and Quiz Exam 1Z0-817: Upgrade OCP Java 6, 7 and 8 to Java SE 11 Developer Study Guide and Quiz
Howdy, yes all versions of remove() will have the same behavior, so whatever behavior happens (or does NOT happen -- as with stateLESS beans) when the client invokes remove() on the component interface will *also* happen if the client invokes one of the home remove() methods (assuming they invoke the appropriate one... in other words, assuming the client doesn't invoke remove(Object pk) on a session bean ) cheers, kathy