WHAT IS OBJECT POOLING
Answers were Sorted based on User's Feedback
Answer / giriraj
Object Pooling is something that tries to keep a pool of
objects in memory to be re-used later and hence it will
reduce the load of object creation to a great extent. This
article will try to explain this in detail. The example is
for an Employee object, but you can make it general by
using Object base class.
Is This Answer Correct ? | 13 Yes | 1 No |
Object Pooling is a concept for optimal use of limited resources through software constructs. The ready-to-use objects, connections, and threads are stored in a pool (group) of objects in memory for later use. For creating a new object, it is pulled from the pool and allocated for the request. Pooling helps in improving performance and facilitates scalability.
Is This Answer Correct ? | 0 Yes | 0 No |
How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?
what is CLR?
What symbol would you use to denote, the start of a code block in aspx views?
How can exception be handled with out the use of try catch?
How do you open a page in a new window?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
What are the different kinds of assemblies?
How many rounds are there for a software programmer to clear interview in any IT industries(MNC).
Explain cookies with example.
What is difference between asp state management and asp.net state management?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data.