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

Why hub is used in networks? Hub is networking equipment and a device that connects various computers to form a network. In a network the NIC translates the message within elec

What is an object's lock and which objects have locks? An object's lock is a mechanism that is used by multiple threads to get synchronized access to the object. A thread may i

RMI Object services: In addition to its remote object architecture, RMI gives some basic object services, which may be needed in a distributed application. 1.  Object namin

Q. Write the method to define the packages in java programme. Explain. Ans. Package: When we work on a project we have to break our programme in several classes. To organize

Explain DATA SECURITY Management issue? All data in the system is extremely critical to its operation, the security of the customer's personal data is most important. Most of t

Using Fork() and Exec() or Clone(), create four child processes. Load the same "Hello" program in each process after creation. This program should behave differently in each pro


What is the preferred organizational structure for the organization? Preferred Organizational Structure for organization is hierarchal. Where there is various departments inter

JMX framework can enhance the manageability of your application by  1. Monitoring your application for critical events, performance problems, and error condition statistics. E.g