GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 35 of 104    Print  
How Data Access Object (DAO) class will handle the data
Suppose there are 2500 records to be handled? How Data Access Object (DAO) class will handle it?


  
Total Answers and Comments: 2 Last Update: August 26, 2008     Asked by: Anoop 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 05, 2006 02:49:29   #1  
Jagadeeswara Reddy        

RE: Suppose there are 2500 records to be handled? How ...
In JDBC there are two types of row sets 1. Web Row Set 2. Cached Row Set By using these row set we can handle the records .
 
Is this answer useful? Yes | No
August 26, 2008 16:47:02   #2  
phdsong Member Since: August 2008   Contribution: 3    

RE: How Data Access Object (DAO) class will handle the data
DAO is one of design patterns. The Data Access Object (or DAO) pattern: 1. Separates a data resource's client interface from its data access mechanisms 2. adapts a specific data resource's access API to a generic client interface.
The DAO pattern allows data access mechanisms to change independently of the code that uses the data.

Read the following.
java . sun . com/blueprints/patterns/DAO.html
java . sun . com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html

 
Is this answer useful? Yes | No

 Related Questions

1.what is meant by inheritance,single inhertiance,multiple inheritance?2.define abstract class & abstract method?3.how to developed and delopying a SERVELT,JSP program in the TOMCAT APACHE SERVER,WEBLOGIC 
Latest Answer : Java supports single inheritance like C++, but does not supports multiple inheritance because of diamond problem. ...
Read Answers (20) | Asked by : sivakumar

In Distributable environment,what happens if our component throws an exception(may be checked/unchecked) to others who r using our component. we must handle here itself or let it leave to others to handle? plz. reply soon
Read Answers (6) | Asked by : ravi

Latest Answer : Struts created internal objects are simple class objects so does not support the all the features provided by ejb container such as transaction managment,persistancy,Security features ,Connection pooling etc. ...
Read Answers (1) | Asked by : sanjay sharma

I need to build a 4-Tier System, where I have a presentation-Tier, a Business-Tier, a Data-Tier and a 4th tier compose by remote machines. What is the best JAVA solution, between all the JSP, Servlet's, EJB, etc. ?
Read Answers (2) | Asked by : João Neto

Latest Answer : Not true, the class can be accessed by an outer-class. ...
Read Answers (9) | Asked by : suresh

Latest Answer : no we cant declare class as protected ...
Read Answers (35) | Asked by : suresh

Latest Answer : OBJECTS SIT ON HEAPPRIMITIVES (LIKE INT, DOUBLE ETC) SIT ON STACKSTACK IS FASTER THAN HEAP.OBJECTS ARE PASSED BY REFERENCE.  PRIMITIVES ARE PASSED BY VALUE.OBJECTS ARE GARBAGE COLLECTED.  PRIMITIVES ARE CLEARED FROM THE STACK BY MOVING THE STACK ...

1. Some websites will have hierarchical display of items. (For eg, on click of a ‘+’ symbol, all items under this item gets listed.). How do you store such structure in database (Note: You can store as XML object. But how do you store in database tables without using XML) ?2. explain 3GL ?
Read Answers (3) | Asked by : ronin

Suppose there are 2500 records to be handled? How Data Access Object (DAO) class will handle it?  
Latest Answer : DAO is one of design patterns. The Data Access Object (or DAO) pattern: 1. Separates a data resource's client interface from its data access mechanisms, 2. adapts a specific data resource's access API to a generic client interface. The ...
Read Answers (2) | Asked by : Anoop

ca fe ba besteps:when u open any .class file.u can see first 4 characters.u have read those characters from the class file and convert those characters into Hexadecimal using toHexString method in Integer 
Latest Answer : A reserved word, sometimes called a magic word is a word which, in some computer programming language  cannot be used as an identifier because it is already used for some grammatical purpose. For instance, in SQL a user cannot be called 'group' because ...
Read Answers (3) | Asked by : tirupathaiah


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape