struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viral_Thakkar" <Viral_Thak...@infosys.com>
Subject Distributed components placing
Date Tue, 29 Jul 2003 13:13:53 GMT
In a typical distributed web application using the struts framework. 

The flow designed is as below : 

StrutsController --> ActionForm --> Action --> Business Delegate (Uses
Service Locator) --> Session Facade. 

Details : 

The query is whether Business delegate component should be part of
client jar file or it should be part of server jar file?

I think, business delegate and service locator will be part of client
jar file as business delegate is used inside the Struts Action class
execute() method. And service locator will be used by busiess delegate
to get the session facade. 

If service locator component is required at session facade also then
should we keep service locator component in server jar also?
 
Thanks in advance.
 

Mime
View raw message