Visão Geral
O Curso Spring - Core oferece experiência prática com os principais recursos do Spring e Spring Boot, que inclui configuração, acesso a dados, REST, AOP, configuração automática, atuador, segurança e estrutura de teste Spring para construir aplicativos corporativos e de microsserviços . Ao concluir, você terá uma base para a criação de aplicativos corporativos e prontos para nuvem.
Conteúdo Programatico
Introduction to Spring
- Java configuration and the Spring application context
- @Configuration and @Bean annotations
- @Import: working with multiple configuration files
- Defining bean scopes
- Launching a Spring Application and obtaining Beans
Spring JAVA Configuration: A Deeper Look
- External properties & Property sources
- Environment abstraction
- Using bean profiles
- Spring Expression Language (SpEL)
Annotation-based Dependency Injection
- Component scanning
- Autowiring using @Autowired
- Java configuration versus annotations, mixing.
- Lifecycle annotations: @PostConstruct and @PreDestroy
- Stereotypes and meta-annotations
Factory Pattern in Spring
- Using Spring FactoryBeans
Advanced Spring: How Does Spring Work Internally?
- The Spring Bean Lifecycle
- The BeanFactoryPostProcessor interception point
- The BeanPostProcessor interception point
- Spring Bean Proxies
- @Bean method return types
Aspect-oriented programming
- What problems does AOP solve?
- Defining pointcut expressions
- Implementing various types of advice
Testing a Spring-based Application
- Spring and Test-Driven Development
- Spring 5 integration testing with JUnit 5
- Application context caching and the @DirtiesContext annotation
- Profile selection with @ActiveProfiles
- Easy test data setup with @Sql
Data Accss and JDBC with Spring
- How Spring integrates with existing data access technologies
- DataAccessException hierarchy
- Spring's JdbcTemplate
Database Transactions with Spring
- Transactions overview
- Transaction management with Spring
- Transaction propagation and rollback rules
- Transactions and integration testing
Spring Boot Introduction
- Introduction to Spring Boot Features
- Value Proposition of Spring Boot
- Creating a simple Boot application using Spring Initializer website
Spring Boot Dependencies, Auto-configuration, and Runtime
- Dependency management using Spring Boot starters
- How auto-configuration works
- Configuration properties
- Overriding auto-configuration
- Using CommandLineRunner
JPA with Spring and Spring Data
- Quick introduction to ORM with JPA
- Benefits of using Spring with JPA
- JPA configuration in Spring
- Configuring Spring JPA using Spring Boot
- Spring Data JPA dynamic repositories
Spring MVC Architecture and Overview
- Introduction to Spring MVC and request processing
- Controller method signatures
- Using @Controller, @RestController and @GetMapping annotations
- Configuring Spring MVC with Spring Boot
- Spring Boot packaging options, JAR or WAR