CMP « EJB « JPA Q&A





1. Converting CMP 2.0 EJBs over to Hibernate    forum.hibernate.org

I have only converted a small number 10 or so. Even so I would recommend you use the Entity EJBs as a guideline and build from scratch (start from the database schema). Use Middlegen (or other tools) to assist the process. The queries should be reviewed since Hibernate offers so much great power a fresh start using the HQL feature set ...

2. EJB CMP or Hibernate?????/    forum.hibernate.org

I dont really have any benchmarks to speak off comparing CMP to Hibernate. One bad thing about CMP is the N+1 Db hits problem when you use finder methods to load a collection , a potential performance drag! In big apps you will normally find the DB to be your bottleneck, mainly cause its the hardest place to run in parallel. ...

3. Using the same datasource for both Hibernate and CMP-EJBs    forum.hibernate.org

Environment: Websphere 5, EJB 2.0, stateless EJBs for declarative transaction demarcation, DB2, Hibernate 2.1.3. I have a single database with tables from a previous project using CMP-EJBs. In my new project I would like to use Hibernate to access the database, but with completely new tables. All old data in the old tables will still be access via the CMP-EJBs. The ...

4. Hibernate Rocks - Converting CMP EJB to Hibernate    forum.hibernate.org

Hi Guys, No question or complaint here. I just wanted to share my experiences with Hibernate. I had a web-based application which was implemented with then state-of-the-art CMP EJB 2.0 using Weblogic 8.1. To save licencing costs (always a motivator at my workplace), I have migrated this application to tomcat/spring/hibernate. In short, the conversion was simple and straight-forward, and quite quick ...