I typed it wrongly in previous mail.
 
Rather  I want to call the EJB session beans methods  from within my Action class to retrieve the data  . 
I read that EJB Session beans handles one request at a time . But how will I do this if I've  to call session bean methods from the web tier. ??
I think from web-tier even concurrent request calls can go to EJB bean .
 
I did not quite got this point . please clear me on this
 
Thanks
Suhas
 
 
----- Original Message -----
From: suhas
Sent: Saturday, July 01, 2000 10:41 AM
Subject: Regarding invocation of bean methods from Action class

Hi ,
    I've a basic question in design . I want to call the EJB Session bean to retrieve the data from my Action class ( which extends from Struts Action )
Do I directly lookup for that session bean and call methods on that bean ????.
But I  read in the mail listing that a business delegation model can be used for talking to session beans from the action class .
Please tell me how to write the business delegation class  . and what is disadvantage of calling the bean methods from within my Action class ?
 
Thanks
Suhas Kulkarni
 
 
 
 
 
   

Reply via email to