EIEIOTECHNOVATION
← Training programmes

EIEIO / PROGRAMMING & DEVELOPMENT

Spring Boot and Maven

Course outline

3 days

Target Participants

The primary target audience for this course is software developers / programmers.

  • Students new to Spring Boot
  • Students new & existing to the Spring Framework
  • You should NOT take this course if you have never used Java before.

Program Prerequisites

  • Students should be familiar with the Java programming language
  • Web Development Experience (HTML / CSS / JavaScript)
  • A computer that can run Spring Tools Suite
  • Familiar with MVC

Course Content

  • Getting Started with Maven
  • Terminology and Basic Concepts
  • Artifacts
  • Lifecycle
  • Plugins
  • Running Maven
  • Running Maven from Eclipse
  • Common Goals
  • pom.xml
  • Commonly Used Plugins
  • Maven Plugins
  • Declaring and Configuring Plugins
  • Running the Plugin
  • Binding a Plugin Goal to the Lifecycle
  • Maven Surefire Test Plugin
  • Failsafe Plugin
  • Site Plugin
  • Introduction to Spring Boot
  • Introduction to Spring
  • Spring Framework Configuration
  • Java @Configuration Classes
  • Defining @Configuration Classes
  • Loading @Configuration Classes
  • Modularizing @Configuration Classes
  • Qualifying @Bean Methods
  • Wiring using @Autowired
  • Configuration with Spring Expression Language
  • Resolving Text Messages
  • Spring Property Conversion
  • Spring Converter Interface
  • Using Custom Converters
  • Spring PropertyEditors
  • Registering Custom PropertyEditors
  • Introduction to Spring Boot
  • What is Spring Boot?
  • Spring Boot Main Features
  • Understanding Java Annotations
  • Spring MVC Annotations
  • Example of Spring MVC-based RESTful Web Service
  • Spring Booting Your RESTful Web Service
  • Spring Boot Skeletal Application Example
  • Converting a Spring Boot Application to a WAR File
  • Externalized Configuration
  • Starters
  • The 'pom.xml' File
  • Spring Boot Maven Plugin
  • Using Spring with JPA or Hibernate
  • Spring JPA
  • Benefits of Using Spring with ORM
  • Spring @Repository
  • Using JPA with Spring
  • Configure Spring Boot JPA EntityManagerFactory
  • Application JPA Code
  • "Classic" Spring ORM Usage
  • Spring JpaTemplate
  • Spring JpaCallback
  • JpaTemplate Convenience Features
  • Spring Boot Considerations
  • Spring Data JPA Repositories
  • Spring REST Services
  • Many Flavors of Services
  • Understanding REST
  • RESTful Services
  • REST Resource Examples
  • REST vs SOAP
  • REST Services With Spring MVC
  • Spring MVC @RequestMapping with REST
  • Working With the Request Body and Response Body
  • @RestController Annotation
  • Implementing JAX-RS Services and Spring
  • JAX-RS Annotations
  • Java Clients Using RestTemplate
  • RestTemplate Methods
  • Spring Micro services
  • Evaluation of Micro Services
  • Characteristics of Micro Services
  • Micro services Benefits
  • Relationship with SOA
  • Twelve Factor Apps
  • Micro Services use cases
  • Micro Services early adopters
  • Building micro services with boot
  • Micro Services Capability model
  • Micro Services Use case
  • Stateless Microservice with Basic Auth and CORS
  • Stateful Microservice with Form Auth, CSRF and CORS
  • Stateful Microservice with SPA Integrated
  • DEPLOYMENT
  • Continuous Development and Delivery
  • JAR/WAR

Programme scope, delivery arrangements and suitability are confirmed during enquiry.