This is a simple tutorial of using BasicDataSource object for Connection Pooling in the Struts 1.3.8 project. This is web based application developed in Netbeans 6.9.1 which display the list of tables from the Oracle database.
Utility class for creating the BasicDataSource instance and getting the connection is shown in (fig 1).
Below is the execute() method where we use the BDSConnection class to create and get connection and do our business.For complete Netbeans project you can email at anjibcs<at>hotmail<dot>com.

No comments:
Post a Comment