| Author |
What are those niche areas where you need CMP?
|
Karthik Guru
Ranch Hand
Joined: Mar 06, 2001
Posts: 1209
|
|
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.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
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.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
 |
|
|
subject: What are those niche areas where you need CMP?
|
|
|