• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What are those niche areas where you need CMP?

 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I remember running into such posts..

Say we have 2 architectures,

CMP, CMR behind a session facade
Hibernate behind a session facade.

What is it that CMP/CMR architecture provides for that hibernate cannot / vice-a-versa. What are those niche (whatever that means) applications.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


What is it that CMP/CMR architecture provides for that hibernate cannot


IHMO - nothing. CMP does have all the advantages (and disadvantages) of EJBs, but then so does Session Facade with a proprietory ORM behind it. However, Hibernate with a Session Facade however does have advantages over CMP e.g.: EJBQL it too limited to be of any real use, Entity Beans are not very portable being tied into a particular container, they are not Serializable so require DTOs, the n+1 problem, they reqire a one-to-one mapping to a DB entity which results in either a bad ER model or some very peculiar Objects, they requires a container, plus many other well reported problems.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic