Re: retrieving DataSource in struts

2003-08-14 Thread Ted Husted
Before rolling your own, you might want to take a look at some of the ORM projects, like OJB and Hibernate , or a DAO framework, like ibatis . These sorts of things are always more work than they seem at first. -Te

retrieving DataSource in struts

2003-08-14 Thread Marco.Mistroni
hi all, i have configured a datasource in struts-config.xml, which is successfully loaded. now my problem is that i want to write a component (which has application-context scope) which wraps the DataSource, so that individual action classes don't have to deal with PreparedStatement etc

Re: retrieving DataSource in struts

2003-08-14 Thread David Graham
--- [EMAIL PROTECTED] wrote: > hi all, > i have configured a datasource in struts-config.xml, which is > successfully loaded. > now my problem is that i want to write a component (which has > application-context scope) which wraps > the DataSource, so that individual action classes don't ha