Build REST API with Spring Boot & Spring Data JPA

所在平台: Udemy

课程主页: https://www.udemy.com/course/rest-api-with-java-spring-boot-spring-data-jpa-jparepository-swagger/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Spring Boot和Spring Data JPA构建REST API 课程概述: 此课程旨在教授学员如何使用Spring Boot和Spring Data JPA构建RESTful API,适用于希望提高Java开发技能的学员。课程内容涵盖了REST API的基础知识,介绍了REST与SOAP的区别,以及如何使用HTTP方法(GET、POST、PUT和DELETE)构建RESTful API。此外,学员将学习使用JSON作为数据格式,通过Spring Data JPA有效地处理数据库。 在课程中,学员将了解以下内容: - 使用JPA实现数据库独立查询,避免编写原生SQL语句,并利用JPA Repository进行CRUD(创建、读取、更新、删除)操作与MySQL数据库交互。 - 编写不同类型的查询,包括选择查询、AND查询、OR查询等,并实现分页和排序功能。 - 学习使用Java持久查询语言(JPQL)编写独立于数据库的查询。 - 处理数据库表之间的关系,包括一对一、一对多、多对一的关系。 - 使用OpenAPI规范(Swagger UI)进行API文档编制,确保文档对于消费者的重要性。 - 学习Spring Boot中的日志记录与调试,使用Spring AOP(面向切面编程)实现实时功能。 - 使用Project Lombok减少Java应用程序中的样板代码,通过不同注解生成getter、setter和构造函数。 - 了解如何使用Spring Boot Scheduler进行定期任务调度(Cron Job)。 - 学习如何将Spring Boot应用程序及MySQL数据库部署到Heroku云平台。 学员们普遍反馈课程内容紧凑,讲师讲解清晰,附有源代码以便实验操作,整体学习体验良好。课程为希望在Java开发领域获得更高技能的开发者提供了一个良好的学习平台。

课程评论(0条)

课程详情

***** Some Reviews From Students *****It was good. I am happy.Our instructor teaches us very well. He shows us how we can test our APIs with Postman. He also attached the source code to the lessons so we can test some interesting features and need not type in the entire code. He explains the connections between controller, services and repository very well.Has been easy to follow, I like his added tips on methodology, makes me feel back in a class at in school; He even has my professors accent!This course is to the point. It really helped me to get familiar with the framework.In this course you are going to learn to Build RESTful APIs With Spring Boot and Spring Data JPA.Now a days Spring framework is widely used among Java Developers and specifically Spring Boot is in high demand.In this course you will learn what is REST API and difference between REST API and SOAP. You will learn to build REST APIs with http methods - GET, POST, PUT and DELETE. We will use JSON ( JavaScript Object Notation ) as data format in REST APIs.Spring Data JPA ( Java Persistence API ) is very much popular to handle your database. Using JPA we can avoid writing native SQL queries so we can say that using JPA we can write database independent queries. JPA provides method proxy using which we can write queries very quickly. In this course you will learn to use Spring Data JPA in Spring Boot using JPA Repository. Using JPA you will learn to perform CRUD ( Create, Read, Update, Delete ) operations with MySQL Database.You will learn how to write Select Query, AND Query, OR Query, In Query, Like Query, Starts with Query, Ends with Query Using Spring Data JPA. You will also learn to achieve pagination and sorting using Spring Data JPA. Behind the scene JPA will create native SQL queries for us and you will learn how to check those SQL Queries generated by JPA. You will learn when to use @Transient annotation provided by Spring Data JPA.You will learn Java Persistence Query Language (JPQL). Using JPQL you can write database independent queries. In this course you will learn to write -JPQL Select QueryJPQL Update QueryJPQL Delete QueryYou will learn how to handle your database tables' relationship with JPA. You will learn different relationships -OneToOneOneToManyManyToOneDocumentation of your REST APIs is very important for your consumers. In this course you will learn to document your APIs with OpenAPI Specification (Swagger UI).Logging is very important in your application to debug and troubleshoot the issue. In this course you will learn logging with Spring Boot and slf4j.One of the key features that Spring Framework provides is Spring AOP ( Aspect Oriented Programming ). In this course you will learn real time implementation for Spring AOP in Spring Boot. You will learn different advices -Before AdviceAfter AdviceAfterReturning AdviceAround Advice Project lombok is used to avoid boiler plate code in your Java Application. In this course you learn how to use project lombok with Spring Boot Application and you will learn -How to have getter methods for Java Class using @Getter Annotation.How to have setter methods for Java Class using @Setter Annotation.How to have constructor for Java Class using @NoArgsConstructor and @AllArgsConstructor Annotations.Spring Boot Scheduler - Cron Job If you want to run task periodically then you can use Scheduler with Spring Boot. For this cron expression is used for this purpose.Spring Boot Deployment to Heroku (Cloud Platform) Heroku is cloud platform where you can deploy your Spring Boot Application. In this course you will learn to deploy your Spring Boot App along with MySQL Database. Heroku is owned by Salesforce which is well known company for cloud services.

课程标签

0人关注该课程

主题相关的课程