Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
18.8 Connection Pooling: A Case Study
511
Listing 18.20 ConnectionPoolServlet.java (continued)
  /** Override this in subclass to change number of initial
   *  connections.
   */
  
  protected int initialConnections() {
    return(10);
  }
  /** Override this in subclass to change maximum number of 
   *  connections.
   */
  protected int maxConnections() {
    return(50);
  }
}
Listing 18.21 ConnectionPool.html 
Servlet Connection Pooling: A Test
  
    
    
    
    
    
  
  
    
    
    
    
    
  
  
    
    
    
    
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved