Durham David R Jr Ctr 805 CSPTS/SCE wrote the following on 7/12/2005
12:06 PM:
Rick, I don't like it. :) Seriously, you've created a dependency on
Struts in your business layer, and IMO, that's a big no-no.
Well remember what really makes a "helper" a business layer component? I
no longer buy the idea that a separate class now instantly becomes a
"buissness component" if it doesn't take place in the Action. You have
to ask your self what makes something a 'business layer' - To me it is a
layer that you would like to have stand alone despite some other
components - such as the view. For the classic example, a DB call. I
woudln't want to tie that to Struts since the db call should be able to
be used by other components.
For what it's worth, I found a way I can get around passing my
ActionForm to another layer, but in theory, I'm not convinced that doing
so would really mean that I'd be breaking the seperation of components.
I'm going to start a new thread, though, with a "how to" question
because I'm curious how other's would approach the situation I've run into.
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]