ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Broderick, Andrew (GE Indust, ES Rail, consultant)" <andrew.broder...@ge.com>
Subject RE: Question regarding Spring DAO
Date Thu, 09 Aug 2007 19:50:54 GMT
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