Skip to content
  • All Tutorials
  • Java Basics
  • Java Core
  • Java EE
  • Spring
  • Android
  • Misc Tutorials
  • Raspberry Pi

Java Tutorial Network

Java Tutorials for Beginners and Professionals

dao

What is DAO and how to use it

October 16, 2019November 16, 2019 ym_coding
spring-featured-image

Before I jump into implementing the classes, let’s first understand what DAO is. If you already know what DAO is, feel free to jump to the code examples. If not, bear with me. DAO stands for Data Access Object and it is a structural pattern which isolates the business layer (logic) from the persistence layer…

Continue reading →
Spring dao, java, spring Leave a comment

How to unit test DAO components

October 20, 2019November 16, 2019 ym_coding
spring-featured-image

In this tutorial you are going to learn how to create unit tests for DAOs. As a prerequisite, you fundamental knowledge of DAOs is expected. When it  comes to testing DAO components, we really have 2 approaches. One is to use the mocking framework Mockito and the other is to create a couple of classes…

Continue reading →
Spring dao, java, mockito, spring Leave a comment

Introduction to JDBC in Spring

October 16, 2019November 16, 2019 ym_coding
spring-featured-image

In this tutorial you are going to learn what the JDBC module is and hopefully you will be able to find use cases after you are done reading it. Now, let’s create a very simple table that represents an employee. CREATE TABLE Employee ( ID INT NOT NULL AUTO_INCREMENT, NAME VARCHAR(20) NOT NULL, AGE INT…

Continue reading →
Spring dao, java, jdbc, spring Leave a comment
GET INVOLVED
Follow us on:

Categories

  • Android (21)
  • Articles (39)
  • Get Involved (5)
  • Java Basics (18)
  • Java Core (85)
  • Java EE (18)
  • Misc Tutorials (14)
  • Raspberry Pi (9)
  • Spring (32)
  • Uncategorized (8)

Sponsors



become a sponsor

Java Tutorial Network
Copyright © 2022 JavaTutorial.net, All rights reserved. | Terms of Use | Privacy Policy | Contact Us | Submit Guest Post
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more