Comment on Tutorial - How connection pooling works in Java and JDBC By Ramlak
Comment Added by : sonia
Comment Added at : 2013-09-21 20:22:49
Comment on Tutorial : How connection pooling works in Java and JDBC By Ramlak
1. Performance
Object pooling provides better application performance As object creation is not done when client actually need it to perform some operation on it Instead objects are already created in the pool and readily available to perform any time. So Object creation activity is done much before So it does help in achieving better run-time performance
2. Object sharing :
Object Pooling encourage the concept of sharing. Objects available in pool can be shared among multiple worker threads . One thread Use the Object and once used it returns back to its Object pool and then it can be used by some other worker thread. So once created objects are not destroyed and thus destruction and creation again and again is not required. That again help in generating better performing code.
3. Control on Object instances :
By declaring size of Object pool we can control the no of instance creation. Thus a finite no of objects are created as decided depending upon required application capacity and scalability or peak load.
4. Memory conservation :
Finite no of instances are created So it helps in better memory management . Too many instances are not
Read through extensive details here :
http://efectivejava.blogspot.in/2013/09/8-reasons-why-object-pooling-is.html
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. Hi, Can anyone please tell me where we need to cha
View Tutorial By: Gunjan at 2014-01-02 12:08:41
2. dear sir, plz answer my following questions:
View Tutorial By: hawa at 2012-01-29 08:29:39
3. Hello,
how to use tjis tut for load image f
View Tutorial By: zero at 2013-10-30 11:45:33
4. Good
View Tutorial By: PRANJAL at 2015-08-14 16:38:57
5. Good tutorial sir
View Tutorial By: vinay at 2012-01-28 12:38:30
6. Good To understand.
View Tutorial By: Radhika at 2010-05-11 01:24:55
7. I want to ask, can a formula be inserted in this s
View Tutorial By: chika at 2011-02-02 17:18:59
8. Don't you just love people who all assume we use w
View Tutorial By: Alan at 2012-08-01 09:10:26
9. hiii frds i want to run this program can i run usi
View Tutorial By: arun kumar ojha at 2011-07-20 00:59:10
10. Nevermind, I was able to modify both applications
View Tutorial By: Matthew at 2009-06-16 14:10:20