InfoCenter Home >
3: Migration overview >
3.3: Migrating APIs and specifications >
3.3.8: Migrating to supported database connection APIs (and JDBC) >
3.3.8.3: Obsoleteconnection manager APIs

3.3.8.3: Obsolete connection manager APIs

Some connection manager APIs are intended only for monitoring purposes or internal connection manager use; they do not have any practical use in production servlets. Therefore, such APIs were not migrated to the Application Server Version 3.x environment and are not likely to be found in existing production servlets.

The following table lists the connection manager classes and associated methods that are no longer supported. The classes are now obsolete, so the details of connection manager coding are not discussed.

Obsolete connection manager class Methods
com.ibm.servlet.connmgr.IBMConnMgrUtil
  • public static IBMConnMgr getIBMConnMgr()
  • public static IBMConnPoolSpec getPoolProperties(String poolName)
  • public static void addPoolProperties(IBMConnPoolSpec spec)
  • public static String urlToPoolName(String url)
com.ibm.servlet.connmgr.IBMConnMgr
  • public IBMConnection getIBMConnection(IBMConnSpec connSpec)
  • public IBMConnection getIBMConnection(IBMConnSpec connSpec, String ownerClass)
com.ibm.servlet.connmgr.IBMConnection
  • public boolean verifyIBMConnection()
  • public void removeIBMConnection()
  • public void releaseIBMConnection()
com.ibm.servlet.connmgr.IBMJdbcConn

This class is derived from the IBMConnection class above and it implements one additional method, as shown.

  • public Connection getJdbcConnection()
com.ibm.servlet.connmgr.IBMConnPoolSpec

This class and the associated methods are intended for WebSphere Studio use only. Both methods are constructors.

  • public IBMConnPoolSpec(String poolName, String poolType, int maxConnections, int minConnections, int connectionTimeOut, int maxAge, int maxIdleTime, int reapTime)
  • public IBMConnPoolSpec(String poolName, String poolType)
com.ibm.servlet.connmgr.IBMJdbcConnSpec

The first three methods are constructors.

  • public IBMJdbcConnSpec(String poolName, boolean waitRetry, String dbDriver, String url, String loginUser, String loginPasswd)
  • public IBMJdbcConnSpec(String poolName)
  • public IBMJdbcConnSpec()
  • public void verify()
Go to previous article: Migrating servlets from the connection manager model Go to next article: Migrating to supported transaction support

 

 
Go to previous article: Migrating servlets from the connection manager model Go to next article: Migrating to supported transaction support