Following are the key benefits of EJB.
-
Simplified development of large scale enterprise level application.
-
Application Server/ EJB container provides most of the system level services like transaction handling, logging, load balancing, persistence mechanism, exception handling and so on. Developer has to focus only on business logic of the application.
-
EJB container manages life cycle of ejb instances thus developer needs not to worry about when to create/delete ejb objects.