| Author |
Question help
|
Andrew Cambell
Greenhorn
Joined: Dec 26, 2002
Posts: 2
|
|
Can someone help me with this question. Thanks When many clients call the findByPrimaryKey() method and specify the same primary key, the ejb server does which of the following? (Select two) The ejb server creates a unique instance of that entity EJB object with that primary key The ejb server creates only one instance of the entity EJB object with that primary key The ejb server creates remote stubs specific to each client The ejb server creates home stubs specific to each client
|
 |
Arvind Varma
Ranch Hand
Joined: Dec 24, 2002
Posts: 48
|
|
I feel 2 & 3 options are right The ejb server creates only one instance of the entity EJB object with that primary key The ejb server creates remote stubs specific to each client As many clients are going to work on the same data it makes more sense to have only one instance of EJBObject for a given primary key. But how each client refer that Object may be different. Hence my choice of second option. do post your views about this Thanks
|
 |
 |
|
|
subject: Question help
|
|
|