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:09:28 GMT
Thanks Andrew.
Is there an example of this injection being done?

On 8/9/07, Broderick, Andrew (GE Indust, ES Rail, consultant)
> 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

View raw message