NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

EJB 3.0 and Container Managed Persistence.

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Zachary1234



Joined: 08 Nov 2008
Posts: 178

PostPosted: Sun Sep 27, 2009 11:00 am    Post subject: EJB 3.0 and Container Managed Persistence. Reply with quote

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?

Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo