Hi Thomas,

If you guys want, feel free to take the two articles that I put up and move them into the How-to page. I will have the third entry done in the next few days.

Jason

Thomas Dudziak wrote:

On 6/24/05, Jason McKerr <[EMAIL PROTECTED]> wrote:
I've finished the second (more simple) installment of Spring with OJB if
anyone is interested.

http://staff.osuosl.org/~mckerrj/?p=4

First off, thanks for sharing this with us ! I use OJB with Spring for
several months now, but never got around writing a tutorial for it ;-)
Just a quick comment: the separation that Matt made concerning DAOs
and services is actually a really good idea because it separates
concerns - your actions want to execute business logic not database
accesses, and you can often want to combine several database accesses
into one business method. Also it greatly simplifies testing because
you can replace the DAOs easily (by using a different
applicationContext file) and thus test your services without having to
have a database at hand but instead against mock DAOs.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to