-ejbActivate()
-Business method() (because of a call to this the bean is activated)
-beforeCompletion()
-afterCompletion()
All these methods are callback methods.You do not call them.Container calls them due to various events that occur
Originally posted by Gagan Indus:
Angela
3) Blocks synchronized on this object-reference, and synchronized methods share da same instance lock .
( like saying
<font color="red">
public void run()
{
synchronized(this)
{
//do losta work
}
}
</font>
and
<font color="red">
synchronized public void run()
{
//do losta work
}
</font>
is one n da same thing( as long as there is no statement outside da sync block ! )
)