강의

멘토링

로드맵

BEST
Programming

/

Back-end

Spring DB 1編 - データアクセスの中心原理

バックエンド開発に必要なDBデータアクセス技術を基礎から理解し、完成することができます。 Spring DBアクセス技術の原理と構造を理解し、より深いバックエンド開発者に成長することができます。

  • yh
Spring
MVC
spring-jdbc

学習した受講者のレビュー

こんなことが学べます

  • Spring DBアクセス技術

  • Springを介してDBを使用するさまざまな方法

  • Springを介してDBを使用する内部原理

バックエンド開発者であれば、必ず知る必要があります
スプリングデータアクセス技術 Part.1

📣確認してください!
この講義はJava Spring完全征服シリーズの6番目の講義です。エレガントな兄弟最年少の技術理事キム・ヨンハンのスプリング完全征服ロードマップを最初に確認してください。
•ロードマップリンク: https://www.inflearn.com/roadmaps/373(クリックするとショートカット)

データアクセス技術

現代のアプリケーションは、ほとんどがWeb環境で動作するWebアプリケーションです。単純に考えると、Webアプリケーションは大きく3つの機能を実行します。

我々は、先にSpring MVCレッスンを通じてクライアントからの要求を受け取り、処理する方法を学びました。今回は、その後のステップであるビジネスロジックを実行するサービスと、その結果をデータベースに保持して管理するリポジトリについて深く学びます。

クライアントからの要求を受け取り、処理する機能はSpring MVCを使用します。ビジネスロジックを実行する機能は、純粋なJavaコードで作成されます。最後に、実行結果をデータベースに保存して管理する機能は、JDBC、JdbcTemplate、MyBatis、JPAなどのさまざまなテクノロジを選択して使用します。そして、Springが提供するDBデータアクセス技術を使用すると、これらの技術をSpringと統合して非常に便利に使用できます。


データアクセス技術を征服する理由

アプリケーションがデータベースにデータを保持および管理するには、さまざまなデータアクセス技術を学習する必要があります。このようなデータアクセス技術を学習するのが難しい代表的な理由は、次の3つです。

1. データベースベースの知識が弱い。

すべてのデータアクセス技術は、データベースにデータを保持および管理するためのものです。したがって、データベースの基本的な理解が必要です。このレッスンを学ぶ前に、データベースとSQLの基本を学んでください。

2. データアクセス技術が多すぎる。

JDBCから始まり、SQLマッパーと呼ばれるJdbcTemplateやMyBatisなどの技術から、ORM技術であるJPA、Spring Data JPA、Querydslなどの最新技術まで、さまざまなデータアクセス技術があります。多種多様な技術が存在するため、それぞれの技術にはいくつかの長所と短所があり、どの状況でどの技術を使用すればよいかを明確に理解して使用するのは簡単ではありません。

3. データアクセス技術の歴史が古すぎる。

JDBCから始まったデータアクセス技術はすでに20年を超えています。その間、データアクセス技術の進歩はもちろん、Springはこれらのデータアクセス技術をより便利に使用するのを助けるために多くの機能を開発し改善してきました。だから今はあまりにも多くが自動化され、抽象化されてしまいました。特に、最近開発を始めたバックエンド開発者は、データアクセス技術を使用するときにこのように機能が動作する理由が正確でない理由を知らず、単に使い方中心に使用することになります。なぜこのように使用しないのですか?


講義の特徴

「なぜ」書くのかを知れば、正確に書くことができます。

この講義は20年前に戻ります。データアクセス技術の始まりであるJDBCをはじめ、コネクション、コネクションプール、データソース、トランザクションの概念、そしてSpringがサポートするデータアクセス技術まで、すべてをコードで皆さんと一緒に作ってみながら段階的に進みます。過去に何らかの不便な点があり、次の技術が誕生し、どんな点が改善されたのかその理由を探して直接コーディングしながら一つずつ理解できます。

そして2編を通じて、MyBatis、JPAのように実務で主に使用するデータアクセス技術も一緒に学習することになります。

基本をしっかり

データアクセス技術を学習するには、さまざまな基本機器が重要です。このレッスンでは、実務では多用されていますが、学習するのは簡単ではないトランザクションとJava例外の基本的な基礎についても説明します。そして、このように学習した内容が実務でどのように活用されるかをコードで学習できます。


講義目標

  • 目標:バックエンド開発の際に必要なデータアクセス技術を完成することを目指します。
  • 基礎から実務まで:実務開発のための内容が多いが、バックエンド開発経験のない開発者も適応できるように構成しました。
  • 実務例の中心:実務からスプリングでバックエンドアプリケーションを開発する際に必要なデータアクセス技術を例を通して自然に学習し、実務でのBest Practiceを伝授します。
  • 簡潔さ:実務で使用していない古い機能は大胆に除外されました。最新の実務に主に使用する内容を中心に説明します。

このレッスンでは、データアクセス技術に関するすべての内容を説明しているわけではありません。データアクセス技術に必要なコアスケルトンを立て、その上に実務に必要な技術を中心に説明します。このレッスンの後、あなたは頑丈な基盤知識に基づいてSpringバックエンドアプリケーションを自信を持って開発することができます。


Spring DB講義の構成

スプリングDB講義は1、2編に分かれています。
このレッスンはSpring DB 1編 - データアクセスの中心的な原則です。

Spring DB Part 1 - データアクセスコア原則現在の講義

データアクセス技術の重要な概念を固め、スプリングが提供するデータアクセス技術の基本原理を理解します。
まず、Springなしで純粋なデータアクセス技術であるJDBC、コネクション、コネクションプール、データソース、トランザクションなどの基盤技術の重要な概念をまず学習します。このように基礎を整えた後、Spring Data Access Technologyがこれらの機能をどれだけ便利に使用できるかを段階的に学びます。

Spring DB 2編 - データアクセス活用技術

1編の基盤の上に様々な活用技術を学習します。
JdbcTemplate、MyBatisなどのSQLマッパー技術から、JPA、Spring Data JPA、Querydslなどの最新のORM技術を学習し、各技術の長所と短所を理解します。そして、データアクセス層のテスト方法とSpringトランザクションのさまざまな機能も深く学習します。


知識共有者の
一言

バックエンド開発者は、MVCとDBアクセス技術という2つの大きな軸を完成する必要があります。 2つの軸を完成させ、素晴らしいバックエンド開発者に成長できるように、私も頑張ります。ありがとうございます。


講義順


関連ロードマップ

スプリング完全征服シリーズ
スプリングをスマートに始め、コア原理から実戦を活用
スプリングブート+ JPA実務完全征服
最新の実務スキルでウェブアプリを作成し、学習実践の深化段階

こんな方に
おすすめです

学習対象は
誰でしょう?

  • Springを介してDBにアクセスし、データを管理したい開発者

  • 開発者就職準備生

  • Spring DBアクセス技術を深く理解したい現代開発者

  • SpringでWebアプリケーションを作成したい開発者

前提知識、
必要でしょうか?

  • Java言語

  • 春の基本知識

  • DBの基本知識

こんにちは
です。

558,507

受講生

36,609

受講レビュー

8,965

回答

5.0

講座評価

25

講座

진짜 실무에 필요한 제대로 된 개발자가 될 수 있도록, 교육하는 것이 저의 목표입니다.

 

저의 개발 인생 이야기

EO 인터뷰 영상

개발바닥 - 시골 청년 개발왕 되다

취업과 이직에 대한 고민 해결

 

カリキュラム

全体

57件 ∙ (10時間 4分)

講座資料(こうぎしりょう):

授業資料
講座掲載日: 
最終更新日: 

受講レビュー

全体

925件

5.0

925件の受講レビュー

  • hanbin10184700님의 프로필 이미지
    hanbin10184700

    受講レビュー 1

    平均評価 5.0

    5

    100% 受講後に作成

    I don't usually write reviews on the internet, but I'm writing this because it helped me a lot. Like other lectures by Knowledge Sharer, this is a good lecture based on thorough preparation as well as the instructor's own development skills. It is really helpful in terms of content, but it is especially recommended because it always considers how to convey the lecture well based on the listener. While showing the source code or official documents at the appropriate time, it only goes as far as necessary at that time, and as always, the stories of usage experiences in the field are also helpful. I was studying DB access technology, and it helped me a lot with the underlying principles and the questions that naturally came up. Thanks to this, I was able to save a lot of time. In particular, the exception handling issue was really helpful. I was quite confused about exceptions while learning JDBC, but 1. You covered the basics of Java exception concepts in a solid manner, 2. You conveyed usage trends in the field and gave clear instructions on how to use them, which was especially helpful. In fact, I started developing on my own and have been studying with Younghan's lectures since I only knew how to do the multiplication table. It's been about 8 months since I started studying with Younghan's lectures, and each lecture has been really helpful. In particular, since the lecture is conducted through the instructor's live coding, I would like to recommend it because you can also acquire knowledge about using IDEs and writing good codes. Thank you always.

    • yh
      知識共有者

      Thank you, Mr. Lee Han-bin, for studying hard and explaining the merits of the lecture one by one. I thought a lot about whether to include the basics of Java exceptions here, and I feel rewarded for helping you in this area. Thank you!

  • boot님의 프로필 이미지
    boot

    受講レビュー 6

    平均評価 4.3

    5

    100% 受講後に作成

    I am a job seeker who studied only Java grammar and watched all of Younghan's lectures in the order of JPA -> Spring roadmap. (I think the order changed, but when I started, there was only the Spring basics ㅠㅠ) I think I was able to get here without much difficulty because he explained in an easy way that even I, a beginner in programming, could understand what problems ancient developers felt and how they developed. I think it was because I had listened to the advanced lecture before, so when concepts like templates, callbacks, proxies, and AOP came out, I found them interesting and thought that they were used in this way. Later, when I was creating a function, I thought that I should introduce patterns when I had repetitive code or dependency problems. If I had started with a book like Projects with Spring, I might have been satisfied with just using Spring, so I think it was a good decision to start with Younghan's lecture :) As you said while waiting for DB Part 2, I am trying to move beyond the study stage to the acquisition stage, but I don't know where to start, but I plan to follow Younghan's advice and create small projects step by step. Of course the lecture is good, but I think the direction you give me at the end is a great motivation for me. Thank you so much^^

    • yh
      知識共有者

      Min-gyu, you studied exactly as I intended^^! You're a job seeker, but if you've already thought about it this much, I'm sure you'll be a good developer when you become a working developer. I'm rooting for you!

  • omg님의 프로필 이미지
    omg

    受講レビュー 205

    平均評価 5.0

    5

    100% 受講後に作成

    I highly recommend this to those who have thrown exceptions in their company code or lack the concept of transactions :) Thank you for providing a unique and excellent lecture that raises the average skill level of domestic backend developers!!

    • yh
      知識共有者

      OMG, I really sympathize with the part where the company code is full of throws exceptions and such. Thank you for listening so intently!

  • robin00q님의 프로필 이미지
    robin00q

    受講レビュー 21

    平均評価 4.7

    5

    100% 受講後に作成

    Kim Young-han!! Kim Young-han!! Kim Young-han!!

    • yh
      知識共有者

      Mr. Lee Seok-jun, thank you for listening so attentively!

  • koorung님의 프로필 이미지
    koorung

    受講レビュー 25

    平均評価 5.0

    5

    100% 受講後に作成

    Not only the lecture content, but also the good words in the last video gave me a lot of strength. Recently, I feel like I've been studying after work out of inertia without any particular goals, so I wondered if this was really right? Is this really not my path? Many of the parts that were frustrating have been resolved. Thank you!

    • yh
      知識共有者

      KoorunG, in the end, consistent effort is the most important. I feel like my hard work paid off. Thank you.

期間限定セール

¥45

24%

¥8,998

yhの他の講座

知識共有者の他の講座を見てみましょう!

似ている講座

同じ分野の他の講座を見てみましょう!