Friday, March 13, 2009

What does isIdentical() method return in case of different type of

Question :What does isIdentical() method return in case of different type of
beans? (EJB)

Answer :Stateless ? true always
Stateful ? depends whether the references point to the same session object
Entity ? Depends whether the primary key is the same and the home is
same

No comments: