What are object pooling and connection pooling and difference?

Answer Posted / guest

Connection Pooling:-
-Creation is on the same thread, so if there is nothing in
the pool, a connection is created on your behalf.
-There is nothing like minimum value or maximum value.
Object pooling :-
-The pool might decide to create a new object. However, if
you have already reached your maximum, it instead gives you
the next available object. This is crucial behavior when it
takes a long time to create an object, but you do not use it
for very long.
-We can set minimum and maximum values of object pooling.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why you want to leave your previous company.

1798


What is WSDL? Explain its architecture?

847


What is immutability?

769


What is a metadata in .net?

768


How many types of design patterns available in .NET?

762


Explain about the Common Language Runtime?

798


How do you view the methods and members of a dll?

817


Explain different types of html, web and server controls.

742


Dynamic Fonts

1654


What do you mean by web service?

854


What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?

806


What is the use of common language runtime?

799


What does mean by .net framework?

756


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

671


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

721