JYMSIML or at least read.....
Java Pro - Using Data Sources the Right Way: Data sources let app servers manage pools of database connections.
Java Pro - Uncoupling Struts: " Use the marker interface design pattern and polymorphism to uncouple your persistence tier from Struts"