ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenan Azam" <azam.ke...@gmail.com>
Subject Re: Question regarding Spring DAO
Date Thu, 09 Aug 2007 20:55:37 GMT
Sweet. Thanks.

On 8/9/07, Christopher Lamey <clamey@localmatters.com> wrote:
>
> You could try several things:
>
> Search your favorite search engine for ³spring ibatis example².
>
> Look at the jpetstore example in the Spring (with dependencies)
> distribution.
>
> Read the Spring docs, specifically the section on iBATIS.
>
> Search this mail list archive, here's on way to do that:
>
> http://www.mail-archive.com/user-java@ibatis.apache.org/
>
> Look at the iBATIS wiki for Spring articles.  There¹s one on DAO
> conversion
> that has a nice Spring setup example.
>
> Cheers,
> Chris
>
>
> On 8/9/07 2:09 PM, "Kenan Azam" <azam.kenan@gmail.com> wrote:
>
> > Thanks Andrew.
> > Is there an example of this injection being done?
> >
> > On 8/9/07, Broderick, Andrew (GE Indust, ES Rail, consultant) <
> > andrew.broderick@ge.com <mailto:andrew.broderick@ge.com> > wrote:
> >> You will have to use Spring to manage at least the DB-related parts of
> your
> >> application, in order to inject the DataSource into the sqlMapClient,
> and the
> >> sqlMapClient into the DAOs.
> >>
> >> You do not have to use Spring for anything else, like managing your
> Struts
> >> action classes, if you use the ServiceLocator pattern (or similar) to
> get the
> >> DAOs from Spring when they are needed.
> >>
> >>
> >> -----Original Message-----
> >> From: Kenan Azam [mailto:azam.kenan@gmail.com]
> >> Sent: Thu 8/9/2007 3:41 PM
> >> To: user-java@ibatis.apache.org
> >> Subject: Question regarding Spring DAO
> >>
> >> Hi,
> >> I am using ibatis in a Struts based web application. To use the Spring
> DAO's
> >> for ibatis which I generated from abator, is it necessary that I am
> using
> >> spring or do I just need to import the libraries.
> >> Thanks, Kenan
> >>
> >>
> >
> >
>
>
>

Mime
View raw message