SCJP 1.4<br />SCBCD 1.3
Originally posted by Raja Sagar Panamgipalli:
Guys plz clarify the below question....
Given the client code (accessing stateless session bean),
The isIdentical(EJBObject otherEJBObject) and isIdentical(EJBLocalObject otherEJBLocalObject) methods
returns true when,
Answer: a. foo1.isIdentical(foo1) is called
b. "foo1.isIdentical(foo1) is called" and "
foo1.isIdentical(foo2) is called"
c. foo1.isIdentical(foo2) is called
i think 'a' is the right answer...is there a possibility that the container assigns the same EJBObject to foo1,foo2 both .
Thank you...![]()
paul.com<br />SCJP, SCWCD, SCBCD, SCEA
SCJP 1.4<br />SCBCD 1.3
All session objects of the same stateless session bean within the same home have the same object identity, which is assigned by the container.
If a stateless session bean is deployed multiple times (each deployment results in the creation of a distinct home), session objects from different homes will have a different identity.
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
paul.com<br />SCJP, SCWCD, SCBCD, SCEA
I started out with nothing..I still have most of it ...