|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/the-spring-boot-crash-course/
课程评论:没有评论
课程名称:Spring-Boot快速入门课程 课程概述: 本课程为学习Spring-Boot框架提供了必要的基础知识,Spring-Boot是Java中最流行的基于JVM的Web框架,广泛用于构建微服务和后端系统,许多大科技公司都在使用。尽管Java是一门出色的编程语言,具备许多内置特性,但在用Java构建REST API时,可能会遇到一些复杂性。因此,开发者们创建了一些框架以快速构建API,同时遵循最佳的代码设计和性能效率,Spring-Boot便是其中一个优秀的选择。 学习Spring-Boot框架的原因: - 快速创建生产级应用程序 - 促进良好的代码设计 - 与外部系统无缝集成 - 拥有活跃的开源社区,持续改进 拥有Spring-Boot技能将使Java开发者在求职市场上更具竞争力,提高编码效率,通过识别与应用Spring-Boot中的设计模式以提高生产力,并能够参与更多技术项目。 课程内容: 本课程时长约1小时,内容丰富。学习者将在课程中创建一个与MySQL数据库交互的基本REST API,并访问外部HTTP API获取数据。课程涵盖以下主题: - 什么是Spring-Boot,它与传统命令行Java应用的比较 - 如何在空的IntelliJ IDEA项目中导入Spring-Boot框架 - 如何在网上查找合适的Spring依赖 - 如何创建REST控制器并通过HTTP接收数据 - 如何配置REST控制器以返回数据并遵循最佳实践 - 如何在Spring-Boot中创建服务 - 使用Spring配置机制 - 依赖注入的概念及其工作原理 - 如何使用HTTP客户端从应用程序调用外部API - 如何配置Jackson反序列化以提取所需数据 - 使用Docker创建和配置MySQL数据库 - 如何配置Spring-Boot应用连接并与MySQL数据库交互 - 如何在Spring-Boot中使用事务以确保数据库的原子性操作 本课程旨在通过展示如何构建一个简单的与其他系统连接的应用,来引导学习者理解Spring-Boot框架。课程极具实践性,是学习新技术的最佳方式。然而,本课程不是一个完整的Spring-Boot课程,不涵盖Spring-Boot的所有配置和依赖,而是集中于构建类似微服务的应用,以便让学习者体验Spring-Boot作为Web框架的实际开发体验。 课程前提: 本课程面向初学Java的开发者、计算机科学/工程学生,以及希望学习Spring-Boot的现有开发者。学习者需具备以下先决条件: - 安装IntelliJ IDEA社区版(免费) - 基础Java知识(类、接口、泛型) - 学习的意愿 在最后两节课中将使用终端和Docker,因此如果学习者有相关经验将更易跟进,但不必担心,课程中将逐步解释所执行的每个命令。感谢您的参与,让我们开始第一讲吧!
IntroThis course is everything you need to get started with Spring-Boot framework in Java, which is the most popular JVM-based web framework for building microservices and backend systems, used by many big-tech companies.Java is a really great language and provides a number of features out of the box, but if you want to build a REST API in pure Java, it might not be so straight-forward.For this reason, developers have created frameworks that allows you to build APIs fast, with best-practices in terms of code design and performance/efficiency, and Spring-Boot is such a great framework.Why do you need to learn Spring-Boot Framework?Spring-Boot is so popular because of the following:It allows you to create create production-grade applications very fastIt promotes a well designed code-baseIt integrates with external systems seamlesslyIt has a big open source community that constantly improves itAnd many other reasonsHaving Spring-Boot in your skillset as a Java developer, will allow you to:Be more competitive in the job marketBe more productive because you'll read and write code faster (and better) by recognising and applying well-established design patterns embedded into Spring-BootBe able to tackle more technical opportunities since many open source projects use Spring-BootOverall, this framework will take you a step further in your Software Engineering career and learning it as soon as possible is probably one of the best strategic moves that you can do for developing your technical expertise.What you will learn in this courseThis course is about 1 hour long, but be aware that it is jam-packed with information. In a nutshell, in this course we're going to create a plain REST API that interacts with a MySQL database to store user data, and also with an external HTTP API, to grab some external data.A non-exhaustive list of things you're going to learn in this course is the following:What is Spring-Boot and how it compares to a traditional command-line Java applicationHow can you import Spring-Boot framework in an empty IntelliJ Idea projectHow can you find the right Spring dependencies on the webHow can you create a REST Controller and receive some data via HTTPHow can you configure your REST Controller to send data back and follow best practicesHow can you create Services in Spring-BootHow to use Spring-Configuration mechanismWhat is Dependency Injection and how does it workHow can you call an external API via HTTP from your application, using a HTTP ClientHow can you configure the Jackson deserialization to extract only the data you needHow can you create and configure a MySQL database using DockerHow can you configure a Spring-Boot application to connect and interact with the MySQL databaseHow can you use Transactions in Spring-Boot to ensure atomic operations on the databaseThis course is meant to guide you through this framework by showcasing how can you build a simple application that connects to other 2 systems, from an end-to-end perspective. It's highly practical, because this is the best way to learn any new technology, by playing with it as much as possibleTo set the right expectations: this is not a complete Spring-Boot course, it doesn't cover all possible configurations and dependencies that Spring-Boot provides. Instead, it's a course highly focused on building an application similar to a microservice, and the main goal is to give you a taste on how Spring-Boot looks as a web framework and what is the developer experience for using it.Prerequisites for this courseThis course is addressed to beginner Java Developers, Computer Science/Engineering students, existing developers that want to learn something new and of course, to anyone who wants to learn Spring-Boot.The only prerequisites for this course are the following:IntellIJ IDEA community (free) editionBasic Java knowledge (classes, interfaces, generics)Willingness to learn:-)In the last 2 lectures I'm going to use a terminal and Docker, so if you are familiar with those it will be easier to follow along, but they're not required as I'm explaining any command that I run step-by step.Thank you for being here and let's jump in the first lecture!