SpringBoot Learning Path
Using the spring framework, you can build an enterprise java application. On other hand, spring provides a template for common services like Transaction Management, Garbage collection. So, that developer can focus on writing business logic and the framework can take care of all the common concerns or common functionality. Additionally, Spring provides infrastructure support like DB connectivity.
But Spring framework served its purpose from the last 10 years that too, we need to do a lot of setup and configuration to make the spring framework work the way you want.
Also, Build and Deployment effort could still be high with a Spring framework Application. Thatâs were spring boot got many eyes.
Using Spring Boot, you can bootstrap or quickly start a Spring Application with minimal configurations.
Introduction to Microservices:
In one word told by Adrian Cockcroft who is known for a modern microservices architecture, âMicroservices are loosely coupled service-oriented architecture with bounded contextâ.
Instead of going more on theory Letâs see a real-world requirement and break it how to build it in both monolithic and microservices way.
Requirement:
When we have a development requirement.
Example:Â Build a Movie Catalog application with Movie and capable of having other services.
If we follow the monolithic way,
We can follow the above traditional monolithic approach like above, having different modules like Movie Catalog, Movie, etc... and then have one database to manage information for different modules. But, the challenge with this approach is a minor issue with one of the areas can take down the entire application. Also, there will be a lot of interdependencies between these modules we will be managed during the development phase. To solve all the issues with the monolithic approach we can follow the most modern approach is a microservices-based approach.
If we follow microservices way,
Fetch Movie Information from MovieApp and corresponding information   from Other Service and display in the MovieCatalog Service.
All of the services and independent, they and build and deployed   independently. They will have their own database.
MovieCatalog Service will be the entry point for the application which internally look up MovieApp and Other services to get the desired data and display to the End-user.
This is a very basic example but we will be covering all the concepts of microservices and you will feel confident about building a similar application in the real world.
Letâs start Building Microservices with the Requirement we have:
Softwareâs Required:Â Java, STS, Maven build tool, MySQL Database, SQL Developer community edition, Postman Client.
 The steps that we covered in this project are:
1. Creating Spring Boot Project MovieApp Service 2. Service Discovery 3. Creating Spring Boot Project MovieCatalog Service and Integrating MovieApp
The projects that we covered in the SkillPractical SpringBoot Learning path are:
1. SpringBoot Getting Started 2. Create your SpringBoot App with Servlet/JSP/JDBC 3. Creating Your First RESTful Web Service with Java/SpringBoot 4. Developing Microservices with Spring Boot & Spring Cloud - Part 1 5. Developing Microservices with Spring Boot & Spring Cloud - Part 2 and etc..
For more details on SpringBoot Learning path please visit our website.
SkillPractical has SpringBoot learning path that helps the user to learn the Java from scratch. If user have any questions on Java Spring while attempting tests, he can post a question in SkillPractical community. They will get an answer from our expert consultants.
















