J D BC and Connector/ J 20 javax.sql.XADataSource: (Web hosting and file sharing)

J D BC and Connector/ J 20 javax.sql.XADataSource: The XADataSource interface is an internal fac tory for DataSource connections using JNDI. The classes and interfaces within the Optional API are linked together, as shown in Figures 2.5, 2.6, 2.7, and 2.8, which are referenced within the version 3.0 specification. Figure 2.5 shows the relationship between the DataSource and Connection classes. The DataSource doesn t act on its own, but instead must obtain a connection to the database through the Connection class. javax.sql.DataSource Instantiates a java.sql.Connection Figure 2.5 DataSource/Connection classes. Figure 2.6 shows how a PooledConnection class will also use the Connection class to obtain a link to the database. Note the ConnectionEventListener associated with PooledConnection. Any events created by PooledConnection will be sent to those objects that register with the ConnectionEventListener. ConnectionPoolDataSource getConnection throws javax.sql.Connection ConnectionEvent javax.sql.PooledConnection ConnectionEventListener Instantiates 1+ Figure 2.6 PooledConnection/Connection classes.

Hint: If you are looking for very good and affordable webspace to host and run your tomcat hosting application check Virtualwebstudio tomcat web hosting provider

Comments are closed.