Jian Tang

Subscribe to Jian Tang: eMailAlertsEmail Alerts
Get Jian Tang: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Jian Tang

In Java 2 Enterprise Edition (J2EE) 1.3, a new concept of a resource sharing scope has been introduced. A resource sharing scope can be either shareable or unshareable, the default being shareable. If the resource is configured as shareable, applications can share connections to this resource; if the resource is unshareable, connections will not be shared. Of all resources, the datasource is the most widely used. This article focuses on how to use unshareable datasources in WebSphere Application Server (WAS) 5.0. A resource is configured as shareable by setting of the deployment descriptor to "Shareable". If a datasource is configured as unshareable in WAS 5.0 by setting to "Unshareable", every getConnection() call will access a connection handle with a different physical connection, even within the same sharing scope (I will d... (more)