This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubts in HFEJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubts in HFEJB" Watch "Doubts in HFEJB" New topic
Author

Doubts in HFEJB

Amar Sinha
Greenhorn

Joined: Nov 13, 2006
Posts: 5
Hi folks i m preparing SCBCD 2.1

I am having 2 doubts
1.Why CMR field can only initiated in ejbPostCreate() not in ejbCreate()...

2.on page 290 of HFEJB Question 8
Whats true about the client's view of an entity bean 's remote component interface ? (choose all that apply)

A. Mulitple clients can access the same entity object concurrently.
B. New Entity beans can be created using a method in this interface.
C. Entity beans may not survive a crash of the container
D. Business methods cannot return a reference to the entity object.

I think answers are A,D both are true..but answer give is A only.I am having doubt...D is true becuase B.M can not return a reference to entity object it should be EJBObject reference of Entity Bean...

Guys..please give help me out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubts in HFEJB
 
Similar Threads
Coffee Cream question
HFEJB Doubt-Entity Relations
Stateless Session Bean/Entity Bean Creation...
SCBCD: Entity Beans and SetEntityContext
Coffee Cram Ch 5 Question 8