Re: Regarding "How can we test applications?" in S2 doc online

2007-05-30 Thread Dave Newton
--- Ted Husted <[EMAIL PROTECTED]> wrote: > Dave Newton <[EMAIL PROTECTED]> wrote: > Web services are useful, but it's important to note > that they are not essential to a Service Orientated > Architecture. Business objects loaded via Spring, or > just popped into application scope, work just as

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-30 Thread Ted Husted
On 5/30/07, Dave Newton <[EMAIL PROTECTED]> wrote: The nice part is that with a good set of service ("util") classes the web app, the web services, the unit tests, etc. all use the same underlying code (functionality). As would a desktop Swing client or utilities, etc. Yes, we're in the midst o

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-30 Thread Dave Newton
--- Skip Hollowell wrote: > I already have my DAO for the actual data layer > retrieval via our webservices and that has worked out > great, as per the CRUD demos and Mailreader. The nice part is that with a good set of service ("util") classes the web app, the web services, the unit tests, etc. a

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-30 Thread Skip Hollowell
Dave and Laurie: So I am complicating things, as usual, by over thinking them. Say I have an AccountAction. Then it's as simple as having an AccountUtil class (or several classes depending on need) that will contain most of the logic that will need to be performed by the Account Action. The

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-29 Thread Laurie Harper
Skip Hollowell wrote: "First, push as much business and data access logic as possible out of the Action class and into a POJO facade that the Action can call. In this way, you can test all that outside of the Action." My question lies in how do you scale this for 10 actions? 20? 50? Do you

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-29 Thread Dave Newton
--- Skip Hollowell <[EMAIL PROTECTED]> wrote: > My question lies in how do you scale this for 10 > actions? 20? 50? Typically (well... in my little world, anyway...) the bulk of functionality is wrapped up in service objects which are used all over the place, including stand-alone apps etc. > L

Regarding "How can we test applications?" in S2 doc online

2007-05-29 Thread Skip Hollowell
"First, push as much business and data access logic as possible out of the Action class and into a POJO facade that the Action can call. In this way, you can test all that outside of the Action." My question lies in how do you scale this for 10 actions? 20? 50? Do you have 1 facade for all