Top reason not to use EJB 3.0 again?

可紊 提交于 2019-12-04 05:55:48

The project did not have any of the problems that EJBs are supposed to solve. Using EJBs just made it harder to code, to debug, to build, to deploy and to document and understand.

anders.norgaard

The top reason for not using EJB 3.0 again? Maybe you can wait for EJB 3.1 which does away with a major piece of insanity: the mandatory local interface.

https://blogs.oracle.com/kensaks/entry/optional_local_business_interfaces

Having to do relationship-child management yourself: Hibernate's all-delete-orphan didn't make it into the 3.0 spec.

Coding an app in EJB is too bulky and in my experience you can get away with a light weight alternative

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!