Deprecation of the GenericDataSource

The org.apache.struts.util.GenericDataSource class has been deprecated. This class was never designed to be a full-scale data source implementation for large, high-availability applications. It was meant for smaller applications, and never had the advanced features found in the more mature data source products.

If you need a data source implementation, it’s recommended that you use either one that is available with your container, or the one available in the Commons DBCP project at http://jakarta.apache.org/commons/dbcp.

Get Programming Jakarta Struts, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.