I suppose this user group mainly caters for struts and strust related issues...
 
May b u shd try posting it to [EMAIL PROTECTED] or
[EMAIL PROTECTED]
 
sasi
-----Original Message-----
From: Viral_Thakkar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 7:29 PM
To: Struts Users Mailing List
Subject: Stateful session bean


Hi all,
 
Please confirm the below understanding of mine.
 
Architecture:
Action --> Business Delegate --> Session Bean --> Database
 
Business delegate will hold a reference of session bean, this uses Service locator 
pattern to get Home Object reference. It will have business methods which will invoke 
corresponding methods on session EJB.
 
In case of stateless session bean, I don't seem any problem but if I have to use 
stateful session bean then I think I should store reference of business delegate in 
the HttpSession so that another Action class (some another event in same session) can 
refer to the existing stateful session bean instance through business delegate which 
can be accessed from HttpSession.
 
Please reply.
 
Thanks & Regards,
Viral
 
 

Reply via email to