Data access objects (DOA) in JDBC, JAVA Programming

Business Objects represent the data client. They are the objects that need access to the datasource to obtain and store data. Data Access Objects abstract the relying data access implementation for the business objects to enable transparent access to the datasource. The business objects also handle data store and load operations to the Data Access Objects. A DataSource shows a database such as a XML repository, relational database, flat file, mainframe system etc. Data Domain Objects or Transfer Objects transfer data between data access objects and client.

 

 

1323_Data Access Objects  (DOA) in  JDBC.png

 

A typical DAO defined has the following components:

  • A Spring framework or DAO factory class to inject a DAO class.
  • A DAO interface
  • A concrete class that represents the DAO interface. Your concrete class will make use of open source or JDBC API framework API like IBatis, Hibernate etc.
  • Data transfer objects transfer data between data access objects and business objects or Domain Objects if you are using any Object-to-Relational Mapping tools like Hibernate.

 

Posted Date: 7/26/2012 6:45:49 AM | Location : United States







Related Discussions:- Data access objects (DOA) in JDBC, Assignment Help, Ask Question on Data access objects (DOA) in JDBC, Get Answer, Expert's Help, Data access objects (DOA) in JDBC Discussions

Write discussion on Data access objects (DOA) in JDBC
Your posts are moderated
Related Questions
Journal of how you came to AUB Write a web application using JavaScript, XML and CSS that contains a journal of major events and places on your journey to Bond University. The

What is the difference between a while statement and a do while statement? A while statement checks at the starting of a loop to see whether the next loop iteration should occu

Give an Examples of java.lang.Math Methods Here is an instance program in which exercises most of the routines in java.lang.Math. If your high school math is a little rusty, do

Question 1 Describe any five buzz words in Java Question 2 Describe exception classes and also explain common exceptions in java Question 3  Describe primitive and

Are constructors inherited ? Can a subclass call the parent class constructor and When?

Implement Decision Tree Algorithm using Netbeans (Java) & Microsoft Access 2007. "One Level is enough, output should contains gain of each attribute, the selected attribute and

Question 1 What is Response Redirection? Explain in brief Question 2 What is JDBC? Explain Question 3 Write a short note on Expressions Question 4 What is an XML na

Convert PSD to Android (UI only, no database) Project Description: I want someone highly proficient in Photoshop and Android SDK to change series of PSD files into live Andro

how to write aprogramm that calculates gross pay, taxes, and net pay for both hourly and commission employees. It will then display those results to the screen

What are the kinds of computer network according to the distance among nodes? the kinds of computer network according to the distance among nodes are as follows: There are t