Posts

Showing posts with the label Spring Boot

What is Spring Boot Initilizr?

Image
Spring Boot Initilizr is a web tool which is provided by Spring on official site using which Spring Boot project can be created by providing project details. It simplifies Spring Applications Development by providing initial project structure and build scripts which reduces development time thus increase productivity. Steps to create Spring Boot project via initilizr ·         Select Maven project and dependencies. Fill other details as shown below and click on generate project. ·         Download the project, extract and now import this project As Maven by using Import option from the STS (Spring Tool Suite) IDE. ·         After finishing, You can see the project structure as shown below: ·      Spring boot generates a Java file in the  src/main/java  directory, pom.xml file with all required dependency. The default created Java ...

Introduction to Spring Boot

Spring Boot is another module provided by Spring Framework which provides RAD (Rapid Application Development) feature to Spring framework. Using boot, we can create standalone Spring based application that you can “just run” in no time and Most Spring Boot applications need very little Spring configuration and it does not require any XML configuration. It uses convention over configuration software design paradigm that means it decrease the effort of developer. Why Spring Boot? As we know Spring framework provides flexibility to configure the beans in multiple ways such as  XML, Annotations  and  JavaConfig. With the number of features increased the complexity also gets increased and configuring Spring applications becomes tedious and error-prone. Spring Boot: ·          Ease the dependency Management , Java-based applications Development, Unit Test and Integration Test Process. Eg: By adding springboot-starte...