Which statement correctly describes the invocation of this type of ejbFind…() method?

A finder method in an entity bean is written to find more than one primary key. Which statement
correctly describes the invocation of this type of ejbFind…() method?

A finder method in an entity bean is written to find more than one primary key. Which statement
correctly describes the invocation of this type of ejbFind…() method?

A.
When a client calls a multiple row finder method, the home object allocates a bean instance and
invokes the corresponding ejbFind…() method. The home object instantiates a remote object for
each primary key, with a collection of remote references returned to the client.

B.
When a client calls a multiple row finder method, the home object allocates a bean instance and
invokes the corresponding ejbFind…() method. The home object instantiates a collection of remote
objects for each primary key, with individual remote references returned to the client.

C.
When a client calls a multiple row finder method, the remote object invokes the corresponding
ejbFind…() method. The remote object then returns a collection of remote references to the client.

D.
When a client calls a multiple row finder method, the home object allocates a bean instance
and invokes the corresponding ejbFind…() method. The home object instantiates a collection of
primary key references and returns them to the client.



Leave a Reply 0

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