Java EJB Programming Question:

Download Job Interview Questions and Answers PDF

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

Java EJB Programming Interview Question
Java EJB Programming Interview Question

Answer:

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.

Download Java EJB Programming Interview Questions And Answers PDF

Previous QuestionNext Question
Is it legal to have static initializer blocks in EJB? What is the default transaction attribute for an EJB?