Posted On: Feb 22, 2018
It is not possible to have threading in EJB because Container maintains and controls the processing in EJB. And if threading is allowed in this, the container will be affected. As it is discussed earlier, EJB is designed to Lower the work on the developer and make them easier to just focus on business logic. EJB is not built to control the system or implementation works so container itself manage the thread.
Never Miss an Articles from us.
EJB stands for Enterprise java bean is a server-side software that is used to construct the module of enterprise software...
Entity Bean: The object that is planned with the database is referred to an entity bean. It is used to execute..
CMP Entity bean: It is defined as Container Managed Persistence. It is the complex type of bean and very effective for the develope..