dcsimg
Using Reflection in EJB to Call Other Components
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   swami_nathan
Posted On:   Friday, February 22, 2002 11:01 AM

Hi I am using java reflection methods to call other java components from my EJB. If the java component throws an exception will that exception be thrown back to the EJB and if its thrown back will I will be able to catch the exception and throw back the exception to the Container.

Re: Using Reflection in EJB to Call Other Components

Posted By:   Bozidar_Dangubic  
Posted On:   Friday, February 22, 2002 11:54 AM

if you use reflection and invoke(), you can catch the exception if exectuing method throws it and then decide what to do with it (let it propagate to the container or deal with it).
About | Sitemap | Contact