Can you find the EZB scalability and which problems I have to face, for example, if I do not use EJB for large applications
Thanks in advance.
EJB does not give you any special scalability bonuses, and there is no penalty for not using them. .
Some "EJB Scalable" Hype comes from days when object pooling is considered as a performance booster.
EJB can help you write efficient code in two small ways: P>
- EJB architecture has a way of spreading business logic in two machines ( By using remote interfaces and JNDI lookup, you allow processing between the server without modifying the code)
- EJB uses the same reference for many calls to you - in some cases consistent persistence References to Jha and will help you get the most of the JPA.
Can get without EJB.
Anyway: You should use them, because they make code better and keep them easy to maintain and these two attributes usually help in creating a scalable app.
No comments:
Post a Comment