|
I guess, with finally block in the used bean should
not affect the primary bean. May be people can comment on it.
Ist bean.
try
{
Second bean function call().
Guess Program continues even after exception is
thrown by the secondary bean because it is caught there only. Have to
check but no sure of this.
}
catch ()
{
}
Second bean...
try
{
}
Catch ()
{
Exception is caught.
}
finally
{
After the exception it comes
here.
}
----- Original Message -----
Sent: Thursday, November 14, 2002 4:52
PM
Subject: Re: Calling a bean from another
bean independent of each other
I guess u missed the second part of the
question:
Any exception thrown by any bean should not
affect the other beans execution.?
How do I ensure this??
Cheers,
Deepak
----- Original Message -----
Sent: Thursday, November 14, 2002 4:34
PM
Subject: Re: Calling a bean from
another bean independent of each other
Simple...
Just give a lookup and get the reference create
the object of it and use the method of that bean....
-Charan
----- Original Message -----
Sent: Thursday, November 14, 2002
3:52 PM
Subject: Calling a bean from another
bean independent of each other
Hi
How can I call a method on a bean from
another bean with the restriction that they perform independently of each
other. Any exception thrown by any bean should not affect the other beans
execution.?
Deepak ********************************************************* Disclaimer
This
message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by
law. If you are not the intended recipient, you should delete this
message and are hereby notified that any disclosure, copying, or
distribution of this message, or the taking of any action based on it,
is strictly
prohibited.
********************************************************* Visit
us at
http://www.mahindrabt.com
********************************************************* Disclaimer
This
message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.
If you are not the intended recipient, you should delete this message
and are hereby notified that any disclosure, copying, or distribution of
this message, or the taking of any action based on it, is strictly
prohibited.
********************************************************* Visit
us at http://www.mahindrabt.com
|