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]
