ejb - Hibernate vs. Entity Beans -
whats advantage of using hibernate vs entity beans , vice versa ?
i can see advantages of hibernate vs jdbc clearly, stumbled when asked in interview.
from ejb3, there no concept of entity bean , has been redefined jpa. jpa spec , can use of orm frameworks underlying persisting mechanism hibernate,openjpa, toplink.
after jpa specification , orm framwork should adhere jpa spec. includes hibernate too.
hibernate or jpa can used in standalone application i.e. doesnt require container deployed. can accessed in standalone environment.
thanks
Comments
Post a Comment