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
Need the following code in double var instead of integer. import javax.swing.*; public class arrayVar { public static void main (String[] args) //This is our main method prompt

Describe Remote Objects A Remote Object is one whose functions can be called from another JVM. A remote object class must execute the Remote interface. A RMI Server is an appl

What is difference between Design and System Architecture? System Architecture : It is structure of a product or procedure. Design: It is begin of the procedure of devel

What is the output of the following JavaScript code? name="Ali Akbar"; document.write(name.charAt(4)) ;

TextMessage having instance of java.lang.String as its payload. Therefore it is very useful for exchanging textual data. It can also be used for exchanging difficult character data

object

If we have 2 tables like bankcustomer(cid,cname,addr,acc_type) and customeraccount(cid,amount). How to Deposit amount into the given customer account.?

Problem : Compiler Design - Limit the loops Rajni is a newbie to the programming and while learning the programming language he came to know the following rules: ???• Each program

Explain what is constructors ? It is frequent the case in which overloaded techniques are essentially the similar except that one supplies default values for a few of the argum

1) Central museum is one of the famous tourist places in london. They ask comments from every customer visiting them.  For that, they maintained one register to store visitor;s com