Book Image

Software Architecture with Spring 5.0

By : René Enríquez, Alberto Salazar
Book Image

Software Architecture with Spring 5.0

By: René Enríquez, Alberto Salazar

Overview of this book

Spring 5 and its ecosystem can be used to build robust architectures effectively. Software architecture is the underlying piece that helps us accomplish our business goals whilst supporting the features that a product demands. This book explains in detail how to choose the right architecture and apply best practices during your software development cycle to avoid technical debt and support every business requirement. Choosing the right architecture model to support your business requirements is one of the key decisions you need to take when a new product is being created from scratch or is being refactored to support new business demands. This book gives you insights into the most common architectural models and guides you when and where they can be used. During this journey, you’ll see cutting-edge technologies surrounding the Spring products, and understand how to use agile techniques such as DevOps and continuous delivery to take your software to production effectively. By the end of this book, you’ll not only know the ins and outs of Spring, but also be able to make critical design decisions that surpass your clients’ expectations.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Implementing applications using MVC


Now that you understand the theory behind MVC architectures, it is time to put the concepts that you have learned into practice and to see how the Spring Framework implements them. We are going to start by reviewing Spring MVC, which is the project that allows us to achieve this architectural style.

Spring MVC

Spring provides support for the MVC architectural pattern through Spring MVC. This Spring project allows for incorporating a vast set of UI frameworks, in order to build forms and related components that will enable users to interact with the application.  

Spring MVC is built on top of the servlet API, which is designed to create web applications. There is no way to create a desktop, or any other kind of application, using this. Even though the MVC architectural pattern can be applied to all of them, Spring MVC is only focused on the web.

Note

Spring MVC is formally known as Spring Web MVC.

Despite the large number of View technologies supported by Spring...