Please see
EaseUp. I have edited your message subject accordingly.
This has nothing to do with
Struts 2; there are a number of ways to create a data source. Without any further information about what you actually want, your environment, etc. it's impossible to help. I'd suggest looking in to JNDI and/or Spring as a first guess at what you actually need.