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.
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.
How to solve JDK certificate error in sping MVC/Boot inside Eclipse and STS.
I recently was building an old application in eclipse and came across a hurdle while publishing my Spring MVC based java application on tomcat server. The error was nothing! That strange beacause tomcat was started in eclipse and in console it was showing server startup status. But when I hit localhost:8080 in my browser the … Continue reading Tomcat Started in Eclipse but showing Connection refused in browser – Error Solved!
Check which version spring MVC libraries are you using. If you re using Spring MVC 3 then prefer install Java 7 with tomcat version 7.0.92.
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?
Flow Diagram of Spring MVC Img Source: TutorialsPoint Purpose of web.xml Until Spring 3.1 the only way to configure the DispatcherServlet was with the WEB-INF/web.xml file. servlet name is dispatcher an instance of DispatcherServlet Class Will be initialized with a parameter named contextConfigLocation which contains the path to the configuration XML load-on-startup is an integer … Continue reading Understanding 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