Application class in Spring boot is used to bootstrap and launch the Spring application from a Java main method. This class automatically creates the ApplicationContext from the classpath, it scans the configuration classes and launches the application.
Spring Boot-Series Part 2: What is pom.xml in a maven based Spring Project?
The full form of POM is Project Object Model. It is a fundamental unit of work in Maven. pom is a XML file that contains information about the project and configuration details used by Maven to build the project.
Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. 🙂 Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
Why Spring Framework?
Spring Framework is a powerful lightweight web application development framework used for Java Enterprise Edition (JAVAEE). Spring is described as a complete and a modular framework. The Spring Framework can be used in all layers of implementation of a real time application. It can also be used for the development of particular layer of a … Continue reading Why Spring Framework?
Spring MVC Project: Setup
Software Requirements Eclipse Mars 2 Java, jdk 1.6 and above Spring 4 jar files(download) Apache Tomcat 7 Step 1: Create a Dynamic Web Project(File>New>Dynamic Web Project) Step 2: Create project folder and packages as shown below Step 3: Add required Spring MVC libs Step 4: Add following code in web.xml Step 5: Add following code … Continue reading Spring MVC Project: Setup