I think we should remove all J2EE build tasks and make compilation of DataSourceResourceLoader included by default.
The reason the J2EE tasks exist is that javax.sql.DataSource was not present in JDK 1.3 and before. Hence DataSourceResourceLoader could not be compiled unless j2ee.jar, jdbc2_0-stdext.jar in the classpath or JDK 1.4+ was used.
At this point, most users are on JDK 1.4+. I suggest we just check for the presence of javax.sql.DataSource and include the DataSourceResourceLoader if it is present. If not, leave it out and just display a warning message noting that it is missing. (and suggesting users download the appropriate library).