Advantages/Disadvantages of EJB(Enterprise JavaBeans) by R4R Team

Advantages/Disadvantages of EJB(Enterprise JavaBeans):-
 
 EJB Advantages-
 There are following advantages of EJB as follows:
 
 1 EJB container provides System level services to enterprise java beans.
 2 EJB developer just focus on business logic and on solving business problems.
 3 To access EJB free security is provided.
 4 Declarative transactions are provided.
 5 EJBs are cached & pooled. Containers manage the EJB life cycles.
 6 Remote access capabilities are present & are clustered for sake of scalability.
 7 OO concepts are supported for example inheritance.
 8 Usage of attributes or annotation based programming is possible.
 9 Free usage & access of complex resources
 10 EJB is a standard API due to which applications build on EJB can run on any complaint Java EE web application server.
 
 Disadvantages of EJB-
 There are several disadvantages of EJB as follows:
 
 1 Requires application server
 2 Requires only java client. For other language client, you need to go for webservice.
 3 Complex to understand and develop ejb applications.
 4 Complicated and large specification
 5 Increased time of development
 6 Complexities are added in comparison with straight Java classes
 7 Potential to create a more essential, costly & complex solution
 8 Continual revisions of the specifications
 9 Lots of resources are used & have also lots of artifacts.
Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!