NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Zachary1234
Joined: 08 Nov 2008 Posts: 178
|
Posted: Sun Sep 27, 2009 11:00 am Post subject: EJB 3.0 and Container Managed Persistence. |
|
|
What precisely is it, under 3.0 version of the Standard, that
tells the container to do CMP mode on Bean lifecycle methods,
versus leaving it for the coder to do BMP on lifecycle methods?
-is it making the core bean class public abstract with get/set methods, versus not?
-Strictly speaking, I take it that it doesn't matter either way, for CMP or BMP, if the bean is a Hibernate Entity/Unique id'ed Database row?
-I also take that it makes no difference if it is a local or remote bean?
-It also doesn't matter if a Session, Entity or MessageDriven Bean?
I'm trying to follow from Sun's
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/CMP3.html
For example, what tells the latest version of JBoss to do CMP on
an EJB (with annotations, no xml, and no use of a deploytool!)
and which lifecycle to follow?
Is the answer actually very simple?
 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|