강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Back-end

トビーの春6 - 理解と原理

スプリングフレームワークの作成プロセスを見ながら、スプリングをよく理解して使用するのに役立つ原理を見つけます。これにより、開発者が作成するアプリケーションのコードをどのように作成する必要があるかを確認できます。

  • tobyilee
토비의스프링
스프링_원리
저자 직강
Java
Spring

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

こんなことが学べます

  • スプリング技術の核心原理

  • オブジェクト指向設計原則とデザインパターン

  • テストを用いたコードの検証方法

  • リファクタリングによるコードの継続的な改善

  • 依存関係の注入、テンプレート、例外、サービスの抽象化

スプリンググルの帰還!
14年ぶりに帰ってきたトビーのスプリング6

ずっと前に出版され、多くの開発者たちに愛されていた<トビーのスプリング3>が14年ぶりに戻ってきました!

<トビーのスプリング3.1>本で取り上げた重要な内容はそのまま盛り込まれ、スプリング6とJavaの最新バージョンに合わせて再構成した講義です。特に、最近使用されているアプローチと技術を含むサンプルコードを中心に、最新のSpringフレームワークを深く体験できます。


もしかしたらこんな悩みをしていませんか? 🤔

スプリングが非常に膨大で多様な技術を提供しているので、毎回必要な機能を見つけて使用方法を習うのに時間を多く投資することになります。

スプリングが柔軟なフレームワークであるだけに、さまざまな選択肢を提供するのは良いですが、最適な方法を見つけるために多くのことを考慮することが負担です。

✅Spring Frameworkの機能がうまく機能しているかどうかを簡単に検証したり、予期しない問題にもっと迅速かつ正確に対応する能力を育成したいです。


使用方法ではありません
動作原理を学ぶ理由

スプリングは柔軟でスケーラブルなフレームワークです。開発するアプリケーションの特性に応じて、必要なスキルとスプリングの機能を選択することが重要であり、時には開発するアプリケーションに合わせてスプリングが提供する機能を拡張する必要があります。もちろん、スプリングブートの助けを借りれば簡単に開発を始めることができますが、スプリングをより効果的に使用するためには、基本的にスプリングが提供する技術の動作方法と開発原理を知っていることが非常に有利です

さらに重要なのは、SpringがJavaエンタープライズおよびサーバー開発のためのベストプラクティスと柔軟な開発原則を説明する本から始まったことです。つまり、スプリングは生まれからオブジェクト指向設計原則とパターン、優れた開発方式を考慮して開発されたフレームワークです。このため、Springの基本原理をSpringを使用するアプリケーションコードに適用することは当然ことです。

良いスプリング開発者になるため
事故の力を育てる

講義はリファクタリングで良いコードを作る過程を経て、スプリングの原理を理解できるように構成しました。

単純な例ですが、講義で扱うコードの変更に注意してください。現在のコードについてどんな質問をし、どんな問題提起をして、どんな試みをするか。そのようにリファクタリングされたコードが与える効果は何であり、Spring自身でどのように適用したかを見ることができます。

また、自分でコードを整えて改善する過程で学ぶスプリングの原則とパターンは、受講生の皆さんにもっと深く近づくと思います。講義を通じて、スプリング開発者に何を求め、どのコードを期待するのか洞察を得る時間になることを願っています。

学習内容📚

講義では、スプリングの膨大な技術をより効果的に学習し理解するのに役立つ主な原則を説明し、その同じ原理を私たちが開発するアプリケーションに適用する方法について説明します。


オブジェクトと依存関係

Springは、Javaを使用してオブジェクト指向の設計と実装、開発原理、デザインパターンを忠実に適用して、その効果を得ることができるコードを作成するのに役立つフレームワークです。

最も重要な依存関係注入(Dependency Injection)とそれをサポートするSpringコンテナの動作原理をオブジェクト指向のコードを作成する過程を通して見ていきます。

Springが提供する最も基本的で重要な機能が何であるか、そしてそれをうまく活用するには、アプリケーションコードをどのように書く必要があるのか、サンプルコードを改善します。


テスト

テストしないと、なぜスプリングを使うのですか?スプリングが与える多くの機能と利点がありますが、開発するコードのテストを簡単かつ快適に書くことができ、テストしにくいターゲットを簡単にテストできる構成が可能にすることは、スプリングが提供する最大の利点です。

アプリケーションコードのテスト作成のさまざまな方法を学び、APIを使用するコードのテスト、制御が困難な時間テストなどを行うにはどうすればよいですか。

スキルを習得するのに役立つ学習テストもカバーしています。


テンプレート

オブジェクト依存関係の柔軟性は、Springが提供する各種テンプレートを活用する方法でも体験できます。デザインパターンとスプリングコンテナを組み合わせて再利用性とスケーラビリティの高いテンプレートとコールバックを作成し、スプリングに適用されたテンプレートも確認します。

固定ワークフローを持つ複雑で反復的なコードをテンプレートを使用して簡潔にする方法を学ぶことができます。


例外

例外を処理するコードの種類と問題、および守らなければならない基本原則を最初に説明します。 DBデータアクセス機能を利用するコードで発生する例を扱うSpringの例外処理方法を調べて、JPAコードを作成し、SpringのDataAccessExceptionがどのように動作するかを確認します。

体系的な例外構造を作成し、適切な例外処理方法を説明します。


サービスの抽象化

サービスの種類と特徴をまず見てください。

テクノロジを提供するインフラストラクチャサービスを使用するときに、アプリケーションサービスコードが特定のテクノロジに依存しないようにするSpringのサービス抽象化について、トランザクションの例を見てみましょう。

特定のスキルに依存しない抽象化されたコードですが、ビジネスロジックで登場するスキルコードを分離するプロキシを使用する効果的な方法も説明します。


春の学習方法

Springの基本原理を理解して適用するには、Springフレームワークでアプリケーションを構成するさまざまな方法を習得し、Springが提供するライブラリなどを効果的に活用できる必要があります。

スプリングスキルを学ぶための基本戦略と学習すべきスキルの種類について説明します。


受講前の注意事項

実習環境

  • オペレーティングシステムとバージョン(OS) :Windows、Mac、LinuxなどのJavaテクノロジを使用できるデスクトップオペレーティングシステムが必要です。

  • 使用ツール: JDK 17またはJDK 21バージョンをインストールし、Javaプロジェクトを開発および実行できる開発環境であるIDEが必要です。

    • 講義では、IntelliJ IDEA Ultimateバージョンを使用します。

    • 実践例では、IntelliJ IDEA UlimateバージョンまたはCommunityバージョンを使用できます。

    • Eclipse、STSなどのJava IDEを使用できますが、IntelliJ IDEAの使用を強くお勧めします。

学習資料

  • FitHubからサンプルコードを受け取ることができます。各レッスンステップごとにコミットされているので、好きな部分をチェックアウトして見ることができます。

  • 講義に使用するスライドを230ページ分のスライドをPDFファイルにダウンロードできます。

  • 各授業で説明する内容の参考資料を盛り込んだ講義ノートをPDF形式で提供します。参考資料講義ノートは、受講生の方々の質問などを参考に継続的に更新する計画です。

選手の知識と注意事項

  • Java言語で書かれたコードを理解するのに十分な言語知識が必要です。少なくともJava 5のアノテーションや、匿名クラス、Java 8のラムダ式の使い方を熟知してください。以降、Javaバージョンに追加された文法やJavaクラスライブラリの使い方などは講義で簡単に説明します。 Java 17または21バージョンまで追加された文法を習得すれば役立ちます。

  • 全体の流れが気になったら、一例に従わずに映像をすべて視聴してもいいです。その後、再び次々と例に従い、自分でコードを改善したり応用してみることをお勧めします。


  • 追加の説明が必要な部分がある場合は、関連するビデオを追加する予定です。

予想される質問 Q&A

Q. トビーのスプリング3または3.1本を持っていますが、本を先に見て講義を見なければなりませんか?あるいは逆に学習するのが良いでしょうか?もし講義を見るなら、あえて本は見なくてもいいでしょうか?

まだ本を購入していない場合や勉強していない場合は、最初に講義を見ることをお勧めします。サンプルコードが最近使われている方法と技術を使って書かれているので、ずっと前(2010-20211)に出版された本を見るよりも理解しやすいです。また、暗示的に必ず知っておくべき内容を集中して説明していますので、講義を先にご覧いただくことをお勧めします。

講義内容を十分に勉強した後にトビーのスプリングブックをご覧いただくこともおすすめです。本には、より詳細に多くの内容と説明が含まれています。詳細な技術説明が盛り込まれた2冊ではなくても、1冊は講義内容を覚えながら再読んでも役に立つ部分もたくさんあります。しかし、他に学ぶことが多いなら、あえて本を見なくても大丈夫です。それでも参考のために本を購入するのは悪くないでしょう。 😄

知識共有者の紹介

履歴

  • 韓国と米国を経て、現在はオーストラリアでコンサルタントと開発者として働いています。

  • 実務開発31年、スプリングフレームワーク開発21年の経験を持っています。

  • 製造、物流、金融、移動通信、コマース、教育、サービスドメインで様々なシステムとサービスを開発してきました。

  • TobyのSpring 3.0と3.1の本を書いた。

  • 韓国スプリングユーザー会(KSUG)を設立し、開発者コミュニティで長期間活動してきています。


こんな方に
おすすめです

学習対象は
誰でしょう?

  • スプリングをよりよく理解して活用したい方

  • スプリングを実務で使用している方

  • 柔軟で拡張性に優れた開発方法を身につけたい方

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

  • Java言語

  • Web APIとDBプログラミングの理解

こんにちは
です。

13,587

受講生

739

受講レビュー

342

回答

5.0

講座評価

7

講座

호주에 살고 있는 소프트웨어 개발자입니다. 30년간 다양한 분야의 시스템과 서비스를 개발해본 경험이 있습니다. 

스프링 프레임워크와 관련 기술을 좋아하고 JVM 기반 언어를 주로 사용합니다.

한국스프링사용자모임(KSUG)을 설립하고 활동했고, 토비의 스프링이라는 책을 쓰기도 했습니다.

개발과 관련된 다양한 주제에 관해 이야기하는 것을 좋아합니다. 

 

 

カリキュラム

全体

58件 ∙ (12時間 27分)

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

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

受講レビュー

全体

162件

5.0

162件の受講レビュー

  • parksangdonews8226님의 프로필 이미지
    parksangdonews8226

    受講レビュー 17

    平均評価 4.8

    5

    100% 受講後に作成

    It is plain. There is absolutely no online lecture tone full of modifiers and empty words to extend the lecture time. It is plain and thick, compressed, filled, and organized through several rehearsals. It is clearly different in intensity from other lectures that jump around to see quickly. I think most students will feel the most when they watch the lecture that there are no gaps in the lecture flow. The explanation of Spring did not start until the end. However, after listening to it all, I learned the core of how Spring works through the beginner's guide to the development ecosystem. The target audience includes everyone from beginners to intermediate and above. There are cries of "Beginner!!" and exclamations of "This kind of content??". Starting with a very simple example, it explains classes and objects, and shows the journey to find a more convenient and sophisticated method through relationships. At some point, the concerns that started in order to respond to change lead to design patterns. I shed tears over the past time when I opened the design pattern book and memorized many patterns in front of me. Rather, I can think about which patterns to use for changes. By the time we reach the entrance of the design pattern... Spring proves that it is a framework that easily supports DI by organizing the dependency inversion principle. Just like... students memorize K Ca Na Mg Al Zn Fe Ni Sn Pb H Cu Hg Ag Pt Au or memorize Taejeong Taese Mundan Se Yeseong Yeon Jung In Myeong Seong Gwang In Hyo Hyeon Sook Gyeong Gyeong Jeong Sun Heon Cheol Go Sun Eun (Joseon King's posthumous name), they memorize SOLID with a development book. Likewise, since I memorized it as if I was memorizing it for a test, there was no reason not to understand the content that I didn't understand as the code change process that directly creates the necessary function. Let's exclaim in admiration. As a developer, you need to conduct tests to quickly draw your own code and increase reliability, but this lecture shows you the reason and method of testing for 2 hours, and when you are tired of watching lectures that are full of content that can only be found in manuals under the title of TDD, this lecture shows you just what you need. Rather than talking about the meaning of test code and what is the real test code, the test part is concluded with the line that how to execute the test and how to verify what is more important. The necessity of code reuse cannot be overstated, but it shows which code should be reused and how to distinguish the parts that need to be changed, and the process of creating this as a template. At this time, you can naturally see the concept of callback with your eyes, and it shows how all of this process is completed in Spring. I was curious because it was not a lecture for beginners, but it explained exceptions, and it added a request to the request, explaining the precautions for exception handling, and at the end, it shows the concept and entity of abstraction, and various abstracted functions in Spring. And it concludes that these are actually the sum of the technologies that encompass the concepts learned so far. It was a lecture that showed the intention to put almost everything a developer needs to know into the title of the Spring lecture, approaching it through the beginner's course, and even if functions are added, it eventually covers objects and relationships, patterns and templates, and securing reliability based on tests, and even abstraction to escape dependencies. This is a great lecture that you should carry around with you and recommend to your loved ones as a gift. Let's do some Infraon work~~ There should be a function that allows you to send gifts if you know the email address of the other person's Infraon account!!!! I would like to thank Tobi, who refused to pay a high price for a lecture that only a few people can attend and created a book of martial arts secrets for all developers at Infraon for over 2 years, and I will end this review.. . Everyone!! Run here!!! # I could have been 1st... Everyone who left a review without taking the class 100% is cheating.. Bad!! # Even if you watch just one lecture clip from the domain section, the perfect build-up is enough to cover the entire cost of this lecture. You will regret not watching the other lecture clips. Hwa-ryong-jeom-jeong

    • tobyilee
      知識共有者

      I am touched because this is my first 100% course review. Thank you for your positive review. However, you can write the course review freely whenever you want. :) I also thought it would be nice to have a lecture gifting function on Infraon, but it's a shame that it doesn't exist!!

    • Hello. This is Inflearn! Wish to share good courses? Now, with Inflearn's Course Gifting feature, you can gift them directly! May the warm feelings from reviews foster growth for friends, colleagues, and those around you. 🎁 Course Gifting Notice > https://www.inflearn.com/notices/1649873 Thank you.

  • choicore님의 프로필 이미지
    choicore

    受講レビュー 2

    平均評価 5.0

    5

    59% 受講後に作成

    It's the advance team. I have Toby's Spring book at my office and at home. It's been 14 years since the book came out, but it's still a great help in understanding the working principles of Spring and the abstractions it provides. I started watching it as soon as the lecture was released, but I was so obsessed that I kept clicking on the next lecture button and it was time to go to bed. There's a process of presenting problems in a situation where functional requirements are satisfied through example code, and transforming it into changeable code by applying design patterns and design principles. It was easy to understand and I was able to take the class with great immersion. I recommend that you look up the keywords that are thrown out here and there instead of just skipping them. Although Spring has been developing for over 20 years, I can feel the greatness of object-oriented design in that its underlying technology is still solid. In the book and in this lecture, Toby seems to be teaching us how to catch fish. I love Toby.

    • tobyilee
      知識共有者

      I am also very impressed by the fact that the foundation that Spring has maintained without change and the principles reflected in it have remained unchanged for quite some time. Thank you for your first review.

    • zin
      知識共有者

      How is the status of the advance team? ㅎㅎ I'm also curious about the review after completing the course!

    • Ah! I finished the course right after writing the course review, so I'm leaving a completion review. I felt that you prepared a lot throughout the course to make it smooth. It was fun to think about how you would solve it by presenting a problem that wasn't forced and solving it step by step from the bottom up. Wouldn't you do it like this? While thinking about this, I checked if Toby's thoughts and the direction I wanted to solve it overlapped(?). I usually think that I should be careful about codes that I don't know or parts that become objects of envy for designs. Thanks to Toby's knowledge transfer, I think I'm building up the basis for being able to receive information with discrimination in the sea of information. It was fun and informative. Thank you. I love you. P.S. I wanted to go to Infcon this year, but ㅜㅜ I failed Infcon. It's a regret of a lifetime.

  • hyunwookim11085590님의 프로필 이미지
    hyunwookim11085590

    受講レビュー 4

    平均評価 5.0

    5

    31% 受講後に作成

    First of all, the video lectures were so engaging that I, who has ADHD, watched 30% of them in one day. Even concepts that seem somewhat abstract to junior developers, such as SOLID principles and object-oriented, were explained in an easy-to-understand manner with examples, which reminded me of a mother bird. In this lecture, I felt that the maestros who definitely knew the truth had concise and simple sentences. It felt like eating a well-prepared Korean meal. I felt the same way when I listened to Object's Cho Young-ho's offline lecture, but Toby's lectures were so natural and logical that I felt like he had prepared a script. Of course, I don't think there is a royal road to learning development. However, with this level of compass, I don't think I'll get lost. Also, the way he explains complex concepts in an easy-to-understand manner was a great help in my studies. Through this lecture, I was able to approach difficult concepts with confidence. And as a side note, this is something I didn't expect because I only read books, but Toby's voice had the power to increase concentration and immerse me. I really liked his calm yet powerful voice.

    • tobyilee
      知識共有者

      I'm curious to know what you liked. Thank you for your positive review. I look forward to seeing you working as a great developer who makes good use of Spring.

    • tobyilee
      知識共有者

      Thank you for writing a detailed course review.

  • modelso9312님의 프로필 이미지
    modelso9312

    受講レビュー 1

    平均評価 5.0

    5

    34% 受講後に作成

    I haven't listened to the whole thing yet, but from what I've heard so far, I think he explains it better than the first-time college entrance exam instructor, so I'm leaving a review in a hurry. I think he would have been a first-time college entrance exam instructor if Spring had been a college entrance exam subject, because he explains things that were only explained in writing, so that anyone can understand the principles of operation. I think he's accurately DI (instilling understanding without trying to understand) in my head to that extent. After watching this lecture, I'm going to read Spring 3.1 carefully. I've been putting it off because I hate stiff writing, but I think I want to study properly this time. ㅎㅎ I'm always grateful. If I can edit my review, I'll read it all and add a review. I hope you stay healthy and create more great lectures.

    • tobyilee
      知識共有者

      Thank you for saying that you understood it well. I hope the remaining content was helpful. Although the book is large, I tried to explain it as kindly as possible. There are some things I wanted to explain more but couldn't because of the limited time in the lecture, but I tried to include more explanations in the book, so if you have time, I recommend reading at least one volume.

    • 100% course review Even after I filled 100% of the lectures, I still thought it was a good idea to listen to the lectures. While listening to the lectures, I felt that it was not like eating a meal because they prepared the food and told me to eat it, but that I needed these ingredients, how to cook it, and if I combined them and ate it, I could make a delicious dish. I started out with development and only maintained a legacy project, but through the lectures at Inflearn, I got to know Toby and I think I was able to get one step closer to Spring. I would like to thank you again for making it so clear that I couldn't understand it just by reading articles floating around on the Internet. I hope you make many other lectures. After reading all of the book, I'm going to read the Spring reference once, and then listen to the lectures again to review them. If that happens, I'll try to leave my thoughts in a reply. Additionally, if I win Infcon and can meet you in person this time, it would be really great. !! Thank you for the great lecture.

  • daejoon님의 프로필 이미지
    daejoon

    受講レビュー 58

    平均評価 4.9

    5

    100% 受講後に作成

    Thank you for helping me become a better developer. I am still reading the hardcover edition of 'Toby's Spring 3.0'. When I first read it, I skipped over chapters 1 to 8 and only looked at the practical parts. However, as time passed, I ended up looking at the first part, chapters 1 to 8, again. The lecture focused on the first part, and explained the principles while excluding the difficult parts of Spring implementation as much as possible. Toby's unique build-up method of explaining the principles was still effective. Here are some things I didn't feel through the book, but I felt through the lecture: - The need to separate codes according to the reason and timing of change - A good habit of Opening and Closing at the same time when writing code that requires resource release - How to use IntelliSense with camel case in IntelliJ IDEA - How to use the TimeUnit class to conveniently use Thread.sleep - How to reduce dependencies by separating packages based on DIP (Dependency Inversion Principle) - How to control the environment using Clock.fixed - Double bracket technique that can be conveniently used when configuring Spring Configuration In fact, the things I learned listed above are additional parts, and while watching the lecture, I kept thinking about 'how to create a structure that is easy to maintain'. These parts were not completely resolved even after watching the lecture, but since it gave me some direction, I will think harder in the future. Thank you. Lastly, I felt that the condition was different for each lecture. Stay healthy. Once again, thank you for helping me become a better developer.

    • tobyilee
      知識共有者

      You've been reading from the first book. I'm glad it was helpful. Thank you for your kind review.

期間限定セール、あと1日日で終了

¥70

24%

¥14,196

tobyileeの他の講座

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

似ている講座

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