It's incomplete, but comments would be appreciated. It is a tutorial that builds on top of the NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework
. Using that as a starting point, this tutorial (attempts to) show how a Struts data source can be used to seamlessly deploy an application to either the Sun Java System Application Server, the JBoss Application Server, or the Tomcat Web Server. I know there are still some kinks in the story (and a lot of explanatory text needs to be added to explain how all the code works), but that's why your feedback is needed. Here it is, have fun with it:
Draft: NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source
Sample code is included, for NetBeans IDE 5.0.