This is a course aimed at students wishing to develop Java based Web Applications and Restful Micro Services using the very popular Spring MVC and Spring Boot frameworks with minimal configuration. The student will develop services through various Url templates, consume and respond with json or XML payloads and create custom HTTP headers. Requestors of these services will include Java and Angular JS clients to illustrate the reuse capabilities of services in a distributed architecture. Traditional web applications will also be covered that render web pages in a typical Model View Controller (MVC) architecture. This is a very hands on course with a series of labs to illustrate the key concepts.
Overview
Syllabus
- Spring MVC, SpringBoot and RestControllers
- Understand the Spring Model View Controller (MVC) architecture, how Spring Boot abstracts the complexities of this architecture away through opinionated defaults. Subsequently implement quickly Rest Services that can take advantage of the Spring framework Dependency Injection Framework and built in HTTP payload message converters.
- Request Parameters
- Provide Request Parameters to Spring RestControllers and understand the key concept of Content Negotiation. Implement Services that provide Json or XML responses and services that receive Json or XML payloads. Write Java clients for services that use the Spring RestTemplate or use Angular JS to access your services.
- Controllers
- Implement a Spring Controller that will dispatch to a View (HTML Page) rather than a service response in Json or XML
Taught by
Derek Parsons