English | 2016 | ISBN: 978-1-78439-641-1 | 466 Pages | PDF, EPUB | 18 MB
Spring MVC is a lightweight application framework that comes with a great configuration by default. Being part of the Spring Framework, it naturally extended and supported it with an amazing set of recognizable annotations. External libraries can be plugged in and plugged out. It also possesses a request flow.
Complete support of REST web services makes the Spring architecture an extremely consistent choice to support your front-end needs and Internet transformations.
From the design of your Maven modules, you will achieve an Enterprise-standard for a stateless REST application based on Spring and Spring MVC with this book.
You will begin with the very first steps of Spring MVC’s product design. Focused on deployment, viability, and maintainability, you will learn the use of Eclipse, Maven, and Git. You will walk through the separation of concerns driven by the microservices principles. Using Bootstrap and AngularJS, you will develop a responsive front-end, capable of interacting autonomously with a REST API.
Later in the book, you will setup the Java Persistence API (JPA) within Spring; learn how to configure your Entities to reflect your domain needs, and discover Spring Data repositories. You will analyze how Spring MVC responds to complex HTTP requests. You will implement Hypermedia and HATEOAS to guide your customer’s stateless conversation with the product and see how a messaging-service based on WebSocket can be configured. Finally you will learn how to set up and organize different levels of automated-tests, including logging and monitoring.
What You Will Learn
- Structure your project with Maven and create self-tested, domain-specific deployable web archives
- Generate templates for a responsive and powerful frontend with AngularJS and Bootstrap
- Build a high performance stateless RESTful and hypermedia application to support your multiple customer experiences
- Authenticate over REST with a BASIC authentication scheme and OAuth2; handle roles and permissions
- Document and publish your REST API using Swagger and Swagger UI
- Scale your Spring web application
- Communicate through WebSocket and STOMP messages
- Provide support to your application and efficiently maintain its business features with a relevant test stack
Resolve the captcha to access the links!