adspace


How do you decide whether you should use session, entity or message driven bean?

Answer Posted / Anuj Kumar Bhardwaj

The choice between Session, Entity, and Message-driven Beans depends on the specific requirements of the application. Session Beans are used for business logic, Entity Beans represent persistent data, and Message-driven Beans handle asynchronous messages. When designing an application, it's essential to consider the application's needs in terms of state management, persistence, concurrency control, transaction management, and messaging before deciding which type of EJB to use.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category