Relationship between EJB 3.0 and JPA?

后端 未结 4 683
情歌与酒
情歌与酒 2020-12-29 07:00

That may seem obvious but I\'ve seen contradictory statements: Is JPA part of EJB 3.0? I\'m no specialist and it\'s quite confusing for me.

If so, JPA manipulates En

4条回答
  •  自闭症患者
    2020-12-29 07:07

    From Wikipedia - Java Persistence API:

    Enterprise JavaBeans

    The EJB 3.0 specification (itself part of the Java EE 5 platform) included a definition of the Java Persistence API. However, end-users do not need an EJB container or a Java EE application server in order to run applications that use this persistence API.[1] Future versions of the Java Persistence API will be defined in a separate JSR and specification rather than in the EJB JSR/specification. The Java Persistence API replaces the persistence solution of EJB 2.0 CMP (Container Managed Persistence).

提交回复
热议问题