| Author |
A stateless session question
|
Fu Dong Jia
Ranch Hand
Joined: May 23, 2007
Posts: 131
|
|
Given a stateless session bean with container-managed transaction demarcation, from which two methods can a developer access another enterprise bean? (Choose two.) A. bean constructor B. Timeout callback method C. PreDestroy lifecycle callback method D. PostConstruct lifecycle callback method E. business method from the business interface Answer: BE
why c and d is not correct?
|
who dare win!<br />SCJP5(94%)|SCWCD5(86%)|SCBCD(100%)|SCEA in progress
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
Check the spec, 4.5.2 Operations Allowed in the Methods of a Stateless Session Bean Class. By the way, you have to know these "Operations Allowed" tables for the exam.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Fu Dong Jia
Ranch Hand
Joined: May 23, 2007
Posts: 131
|
|
|
Thanks Christophe very much!
|
 |
 |
|
|
subject: A stateless session question
|
|
|