Interview Questions

Is it possible to stop the execution of a method before completion in a SessionBean?

EJB Interview Questions and Answers


(Continued from previous question...)

26. Is it possible to stop the execution of a method before completion in a SessionBean?

Stopping the execution of a method inside a Session Bean is not possible without writing code inside the Session Bean. This is because you are not allowed to access Threads inside an EJB.

(Continued on next question...)

Other Interview Questions