Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions JDBC connection pooling
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


neelam
JDBC connection pooling
2 Answer(s)      4 years and a month ago
Posted in : Java Interview Questions


What is Connection pooling?

Advertisement
View Answers

October 18, 2010 at 3:24 PM


This will give you access to a collection of already opened database connections,which will reduce the time it takes to service a request,and u can service n number of requests at once. Java developers often need to use objects that require a lot of resources to create and destroy. Many times, they find that they need to reuse an object that they created and destroyed only a little while before.As a result, many choose to create objects once and then hold them in memory indefinitely. In some applications, having only one object in memory will not suffice, and you will need to create more. A typical project scenario is to create a number of objects of similar type and use them across an application in different contexts, maybe simultaneously.Holding many objects together like this is known as pooling and the collection of objects itself is called a pool.


October 18, 2010 at 3:27 PM


Hi, This will give you access to a collection of already opened database connections,which will reduce the time it takes to service a request,and u can service n number of requests at once. Java developers often need to use objects that require a lot of resources to create and destroy. Many times, they find that they need to reuse an object that they created and destroyed only a little while before.As a result, many choose to create objects once and then hold them in memory indefinitely. In some applications, having only one object in memory will not suffice, and you will need to create more. A typical project scenario is to create a number of objects of similar type and use them across an application in different contexts, maybe simultaneously.Holding many objects together like this is known as pooling and the collection of objects itself is called a pool.


Related Tutorials/Questions & Answers:
JDBC connection pooling
JDBC connection pooling  What is Connection pooling
Connection pooling - JDBC
Connection pooling  what is meant by connectio pooling and how...;connection pooling concept basically deals with the pool of object. In every... to the container about max and min connection object in the pool
Advertisements
connection pooling - JDBC
connection pooling  how to manage connection pooling?   Hi.... In JDBC connection pool, a pool of Connection objects is created...++) { gObjPool.addObject(); } Connection connection = java.sql.DriverManager.getConnection("jdbc
A JDBC Connection Pooling Concept
; } JDBC Connection Pooling JDBC Connection pooling is similar to any other object pooling. Connection pooling is very useful for any application which uses... into the pool.  An example of JDBC connection pooling is given below. to run
Connection pooling
Connection pooling  What is Connection pooling
Connection pooling
. Read the concept of JDBC Connection Pooling Concept. Thanks...Connection pooling  hii, What is Connection pooling?   hello, Connection pooling is a technique used for sharing server resources among
Connection pooling
Connection pooling  Sir, In my project i want to implement connection pooling with ms-sql server 2005. i wrote the code in JSP like... the following link: Connection Pooling In Java Thanks
connection pooling with jbos4.0
connection pooling with jbos4.0  How to create connection pooling in jboss 4.0? please explain me step by steps from beginning
Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts 2
Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts 2
JDBC Connection Pool
pooling. What is JDBC Connection Pool? The database connection is expensive... Pooling Here are the benefits of JDBC Connection Pooling: Improved... Tutorial of JDBC Connection pooling Read the following tutorials on JDBC
Connection Pooling - JSP-Servlet
Connection Pooling  Hi All, Iam new to Connection Pooling in Java. I need to create connection pooling for my MySQL Database with JSP using Bean... Connection con=null; public static Connection getConnection() { try
Connection pooling - Java Beginners
Connection pooling  Respected Sir/Madam, I am Ragavendran.R.. I need some clarification on what connection pooling is? Moreover can u provide me an example of how to implement connection pooling concept
Connection pooling - Java Beginners
Connection pooling  Respected Sir/Madam, I am Ragavendran.R.. I got your link which u have sent for implementing connection pooling... for implementing connection pooling for the below mentioned: Ahead.jsp: Client
Connection pooling - Java Beginners
Connection pooling  Respected Sir/Madam, I have developed an application and I am now trying to implement the same through connection pooling. I have totally 6 files in that application viz Login.jsp, check.jsp, Ahead.jsp
connection pooling - Java Interview Questions
connection pooling  What is connection pooling?kindly help me... Pooling : A connection pool is a cache of database connections maintained.... In JDBC connection pool, a pool of Connection objects is created
Use of Connection Pooling - JSP-Servlet
Use of Connection Pooling  Dear Friends i want to use connection pooling in my jsp page i created one connectionPooling.java is : package... Connection con=null; public static Connection getConnection() { try
JAVA connection pooling - Java Interview Questions
JAVA connection pooling  how to do JDBC connection pooling in Apache Tomcat ????  Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/jspfundamentals.shtml http://www.roseindia.net/answers
Database Connection Pooling (DBCP)
and quicker response using the available connections as making new connection is very... the database connection for processing the request send by the clients... to relating clients. There are several Database Connection Pools already available
jdbc connection
"); Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://127.0.0.1...jdbc connection  How to Submit data????   <%-- view... { Class.forName("com.mysql.jdbc.Driver"); Connection con = (Connection
JDBC connection
JDBC connection  ![alt text][1]I got exception in Connecting to a MySQL Database in Java. The exception is ClassNotFoundException:com.mysql.jdbc.Driver wat is the problem
j2me jdbc connection - JDBC
j2me jdbc connection  hello, whn i m importing sql package in mine midlet(tried for both javax.sql.* and java.sql.*;)..itz nt accepting it... hw to get connected to database?????.... plz help me out
Java jdbc connection
Java jdbc connection  Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection
Java Jdbc connection
Java Jdbc connection  What are the steps involved for making a connection with a database or how do you connect to a database
jdbc odbc connection
jdbc odbc connection  i need a program in java which uses a jdbc odbc connection   Hi, You can create odbc datasource on your windows computer and then access in your Java program. Read the JDBC ODBC example. Thanks
jdbc connection issues
jdbc connection issues  Hello. kindly pls help in this issue...i have created 11 jsp form wit some attributs in it also created 11 tables... tables with only one jdbc connection program...if possiable pls post a sample code
Error in connecting to the mySQL database in TOMCAT using more than one PC (database connection pooling)
(database connection pooling)  how do i implement connection pooling...-INF/web.xml</WatchedResource> <Resource name="jdbc/HTHLogDB" auth...="com.mysql.jdbc.Driver" url="jdbc:mysql://10.9.58.8:3306/alcs_htht"/> </Context>
Java-Connection Pool - JDBC
Java-Connection Pool  How can I create a connection pool. My database... is Weblogic 8. Which is the best approach to create a connection pool? ...{ public static void main(String[] args){ Connection con = null; String url
connection with xslx - JDBC
connection with xslx  hai to all i am not able to connecting to xlsx(2007 excel file) using jdbc?please help me?  Hi Friend, Please visit the following links: http://www.roseindia.net/tutorial/java/poi
Connection to jdbc - Java Beginners
Connection to jdbc  I need to populate a listbox in jsp with values from Postgresql JDBC. i used the following code... but its not working... can u suggest me with the correct solution. my.jsp my form
Connection pool in Tomcat 6 - JDBC
Connection pool in Tomcat 6  Hi All, Any one please tell me how to implement connection pooling in Tomcat 6 and MySQL 5.0.1b. Thanks, Ramarao  Hi Friend, Please visit the following link: http
Advertisements
 

 

 

DMCA.com