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
Give the example of mixing data type in java? Mixing Data Types Order can form a difference while data types are mixed. For example, 1 / 2 * 3.5 = 0.0 3.5 * 1 / 2 = 1.75 3.5 /

Assignment Help >> JAVA Programming Learning Outcomes: 1. Use different program control statements in a programming language 2. Demonstrate the use of arrays with a programming

i need help

program for syntax tree

Describe The ? operator in Java langauge? The conditional operator just works for assigning a value to a variable, using a value within a method invocation, or in a few other w

Is it right that garbage collection guarantee that a program will not run out of memory?

You may call function from any other place into your JavaScript code. After the function is executed, the control goes back to other script which called it.  alert('Example 1: t

#question.Write a program to find the area under the curve y = f(x) in java.

The Java programming language is object-oriented and includes automatic garbage collection. Garbage collection is the process of reclaiming memory taken up by unreferenced objects.

Write a Java ADB client to perform the following- The client will read the contents of the file - invoice.txt. The first line of the file will display the type of the currency. The