Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Joe Germuska
On 1/31/07, Cecilia Castillo <[EMAIL PROTECTED]> wrote: I am new to Struts, Struts2, and Spring. (And maybe know too much about jdbc.) I have written my application with Struts2 and am only using Spring to manage my database connections. I have defined my oracle database as a JNDI resource in

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Pierre Thibaudeau
Cecilia, (I know nothing about Struts2, but I don't think that's essential to your query!) Every one of my Spring DAO beans contains a method along this one: public static ThingDAO getInstance() { return (ThingDAO) SpringConfig.getSpringContext ().getBean("ThingDAO"); } (The Strin