Hibernate is a relatively lightweight ORM that offers a rich set of features including a powerful HQL, and can be run in a standalone JVM, thus can be used in the Servlet container (i.e. only tomcat needed, not a full blown app server), standalone application or just from your IDE during development.
CMP beans require a heavy weight application server which is likely to have licensing costs, hasn't got the same query capabilities.
Performance wise a good hibernate model will outperform a J2EE server.
|