which order will these steps occur?

Consider the following steps in the creation of a stateful session bean:
1 The container initializes a session context (the session context reference is passed to the bean
via the setSessionContext() method).
2.The container instantiates an EJB object.
3.The create() parameters are passed to the beans ejbCreate() method.
4.The bean is instantiated with a default no-argument constructor.
In which order will these steps occur?

Consider the following steps in the creation of a stateful session bean:
1 The container initializes a session context (the session context reference is passed to the bean
via the setSessionContext() method).
2.The container instantiates an EJB object.
3.The create() parameters are passed to the beans ejbCreate() method.
4.The bean is instantiated with a default no-argument constructor.
In which order will these steps occur?

A.
1, 2, 4, 3

B.
3, 2, 1, 4

C.
2, 1, 3, 4

D.
2, 4, 1, 3



Leave a Reply 0

Your email address will not be published. Required fields are marked *