Spring MVC Cookbook

Spring MVC Cookbook

Over forty recipes for growing cloud-ready Java internet purposes with Spring MVC

About This Book

  • Configure Spring MVC to construct logic-less controllers that transparently aid the main complex net techniques
  • Build an awesome social and fiscal software that applies microservices styles on deployment, self-testability, interoperability, cloud architectures, and scalability
  • Fast-paced, useful advisor to profit how you can organize Spring MVC to provide leisure assets and templates as required via the newest front-end top practices

Who This publication Is For

If you're an skilled Java developer, with previous adventure in net applied sciences, and need to step up on your profession and remain up to date or study extra approximately Spring internet scalability, this publication is for you.

What you'll Learn

  • Structure your venture with Maven and create self-tested, domain-specific deployable internet archives
  • Generate templates for a responsive and robust frontend with AngularJS and Bootstrap
  • Build a excessive functionality stateless RESTful and hypermedia program to help your a number of consumer experiences
  • Authenticate over leisure with a easy authentication scheme and OAuth2; deal with roles and permissions
  • Document and post your leisure API utilizing Swagger and Swagger UI
  • Scale your Spring internet application
  • Communicate via WebSocket and STOMP messages
  • Provide help on your program and successfully preserve its enterprise positive factors with a proper attempt stack

In Detail

Spring MVC is a light-weight program framework that incorporates a very good configuration by means of default. Being a part of the Spring Framework, it clearly prolonged and supported it with an awesome set of recognizable annotations. exterior libraries will be plugged in and plugged out. It additionally possesses a request flow.

Complete aid of relaxation net prone makes the Spring structure a really constant option to help your front-end wishes and net transformations.

From the layout of your Maven modules, you'll in attaining an Enterprise-standard for a stateless relaxation software in accordance with Spring and Spring MVC with this book.

This consultant is exclusive in its type because it incorporates a giant review of functional improvement recommendations introduced jointly from the Spring environment, the recent JEE criteria, the JavaScript revolution and web of Things.

You will commence with the first actual steps of Spring MVC's product layout. fascinated with deployment, viability, and maintainability, you are going to research using Eclipse, Maven, and Git. you are going to stroll in the course of the separation of matters pushed through the microservices ideas. utilizing Bootstrap and AngularJS, you are going to strengthen a responsive front-end, able to interacting autonomously with a relaxation API.

Later within the publication, you are going to setup the Java patience API (JPA) inside of Spring; how you can configure your Entities to mirror your area wishes, and detect Spring information repositories. you'll learn how Spring MVC responds to advanced HTTP requests. you'll enforce Hypermedia and HATEOAS to lead your customer's stateless dialog with the product and spot how a messaging-service according to WebSocket may be configured. eventually you are going to methods to organize and manage various degrees of automated-tests, together with logging and monitoring.

Style and approach

A accomplished, recipe-based consultant to making wonderful Java apps with Spring MVC because of studying and enforcing pro-level practices, innovations, and solutions.

Show sample text content

Download sample