Hibernate or EJB 3?

Discussions

General J2EE: Hibernate or EJB 3?

  1. Hibernate or EJB 3? (2 messages)

    Hi,

    Trying to decide between Hibernate and EJB 3.0 entity beans for my next project. Here are the facts:

    It's a new project, starting from scratch, for a company that has no existing Java codebase or Java expertise.

    I'm familiar with Hibernate from previous projects, and also familiar with EJB 1.0 and 2.0, including entity beans, from previous projects. I haven't worked with EJB 3 yet.

    I have the freedom to use whatever versions of whatever tools I want, and keeping them up-to-date is not a problem. Currently I'm planning to go with JBoss 4 and JDK 1.5, and I'm also definitely going to use EJB 3.0 session beans.

    Thanks for the advice.
  2. Hibernate or EJB 3?[ Go to top ]

    The JBoss entity bean implementation is based on Hibernate. Hibernate has more functionality than the EJB 3 spec, but if you choose to go with entity beans you can easily get hold of the underlying hibernate session to do more advanced stuff when needed.
  3. Do you know where to find a comparison?