Hi,

you can use iBatis [http://www.ibatis.com/] and 
take a look at this example/tutorial: 
http://www.reumann.net/do/struts/ibatisLesson1
(using: Struts - DAO - iBatis )


I think this is what your looking for.
Oliver


> hello,
> 
> i have been looking (in vain) for a description how to implement database
> access in struts correctly. i would like to use the DAO (data access
> object)
> pattern in combination with datasources for connection pooling. however, i
> am having a hard way figuring out how to implement the whole and to
> decouple
> my actions from knowing about the implementation of the DB.
> 
> the example application bundled with struts uses a plugin to set up
> everything in the application context - is this the right way to go about
> things? i am planning on using postgresql for the moment but would like to
> foresee possible changes in the future.
> 
> any examples or pointers in the right direction would be very much
> appreciated.
> 
> thanks,
> 
> Ben.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


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

Reply via email to