What can't be done without EJB

If the JPA is not dependent on the EJB and has its own specification. Why do I need EJB? What can not I do without EJB?

I read the following discussions, but I really do not indicate why this is still necessary?

Why should we use EJB?

https://stackoverflow.com/questions/4464338/why-ejb-is-used-in-enterprise-applications

+4
source share
3 answers

, . EJB ( , , , ..). , - , RMI/IIOP. . , -. , EJB, , , . , , , EJB. , , " ". Java Spring " J2EE-" " EJB". EJB : -)

P.S. EJB , , , , , . ""

+3

EJB java beans - Java, Java EE, ,

  • bean
  • ..

, JPA Java EE. JSE. , Entity beans "" Java .

EJB? . , EJB. , , Spring Guice.

- .

+2

EJB - , . bean , ( , , bean ..) /. , , .

So, we can conclude that EJB simply reduces the amount of coding performed by the programmer, and allows the programmer to focus on the core business logic.

We can do the same without EJB with some good amount of coding.

Thanks JK

+2
source

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


All Articles