EJB 3 or Hibernate 3

前端 未结 3 2070
既然无缘
既然无缘 2020-12-08 17:11

Regarding a Java EE Web application which is going to be served by a full Java EE Application server e.g. GlassFish, which is the best ORM Solution?

3条回答
  •  佛祖请我去吃肉
    2020-12-08 17:28

    They're similar; the 3.0 spec for EJB took a great deal from Hibernate and Spring.

    I don't have any firm metrics for either one to quote, but I'd say that if you're embracing Glassfish that it makes sense to me to use all of its technology. Why introduce another dependency? See if Glassfish can do the job for you.

提交回复
热议问题