Spring DAO | Code Factory

Spring Tutorial Index Page: Link

  • DAO — Data Access Object it will do data persistence operations. It will interact RDBMS machines, interact with XML files, interact with LDAP machines, interact with NoSQL machines.
  • The main aim of DAO is data access operation.
  • * In DAO we use Interface implementation pattern. So in future if we want to change DB then it is easy to do.
  • * Below are the implementations provider and implementations for connection pool.
    - Sun -> DataSource ( I )
    - Apache -> BasicDataSource ( C )
    - Mchange c3p0 -> ComboPooledDataSource ( C )
    - Spring -> DriverManagerDataSource ( C )
    - WebLogic -> WebLogic Data Source
  • For small enterprice application if you want to use connection pool then ComboPooledDataSource and BasicDataSource is recommended.
  1. Spring — Difference between JDBC and Spring JDBC
  2. Spring — Data Source and Connection Pool




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to sneakily increase your sale price?

Doctor: HTB Walkthrough

Setting up Ruby on Rails with Docker and MongoDB

A Year In Review For BEPRO Network Labs


Creating Bounds so that the Player stays within the screen

CAP Theorem Considered Harmful: Data integrity in NoSQL & Alternatives to CAP

Why is Serverless Architecture becoming popular for App Development?

Why is Serverless Architecture becoming so 
 popular for App Development?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Code Factory

Code Factory

More from Medium

Chain of Responsibility Pattern(Behavioral Design Pattern)

Spring Profiles | Spring Boot Profile

Builder Design Pattern

Memento Design Pattern