Using spring with ejb

Did you use spring and EJB together in the project? Is it good or not. And how, what did you use spring and EJB for? thank

+3
source share
2 answers

The Spring manual has a comprehensive chapter on EJB integration:

[...] it is important to note that using Spring does not bother you using EJB. In fact, Spring makes it much easier to access EJB and implement EJB and functionality within them. In addition, using Spring to access the services provided by the EJB allows you to implement these services for later transparency, switch between local EJB, remote EJB or POJO (plain old Java object) options, without client code, you need to change.

beans, Spring - . beans beans, . EJB2 beans , Spring .

, . Spring , , EJB. , , EJB, Spring . EJB, - , Spring .

+8

- POJO Spring, EJB, , @EJB. POJO Spring, . , Spring EJB POJO, Pitchfork Weblogic. , , EJB, BeanFactoryBean ( EJB, ), POJO BeanFactory. POJO, EJB, EJB .

+1
source

Source: https://habr.com/ru/post/1726605/


All Articles