Skip to main content

Posts

how to access computer remotely (कंप्यूटर को इन्टरनेट पर रिमोटली कैसे एक...

Recent posts

What Is Node JS How To Install in windows

What Is Node JS How To Install  in windows

How To Provide Explicit Mapping In Spring Boot Project

How To Provide Explicit Mapping In Spring Boot Project  Normally Whenever we configure and start our first spring boot project and check in localhost:8080 it will display  Whitelabel Error Page because   there is no explicit mapping found , Today we will learn how to provide an explicit mapping. Open your IntelliJ IDE & go to your project  Right Click on your project and select the new package as shown below Give package name as the controller              After that Right Click on the package and select new java class and named as HelloMessage After That Write The controller code as shown below After that restart the server and open browser and type localhost:8080 Enjoy Explicit Mapping  !!!!!

How To Display Welcome Message On Spring Boot Project

How To Display Welcome Message On Spring Boot Project  Normally Whenever we configure and start our first spring boot project and check in localhost:8080 it will display Whitelabel Error Page because  there is no explicit mapping found nor any index.html file found in the static folder, Today we will learn how to display a welcome message instead of Whitelabel Error Page. Now open your project in any IDE like IntelliJ etc. Go Static Folder as right Click and select Html File as shown Below Give name file to index.html  Type any welcome message  Restart the server  Open Web Browser and type localhost:8080 and see a welcome message How To Display Welcome Message In Spring Boot To Watch Video Click Here

How To Run Spring Project After Generate From Spring Initializer

How To Run Spring Project After Generate From Spring Initializer After Generating project from Spring initializer copy generated zip project on any folder like have created a folder in c:\intellijworkspace here paste zip project and extract it as shown below. After that open command prompt and go inside the project directory as shown below           After that inside project folder type command mvn, clean install and press enter as shown below After that project build process started as shown below Finally, Build Process Completed with success message as shown below After Build Successfully to run project type command mvn spring-boot :run as shown below Finally, project up successfully on port 8080 as shown below. To check project status open browser and type localhost:8080 it will display an error page that indicates project run successfully as shown below Now Enjoy Spring Boot Project !!!!!! How T

How To Create Spring Boot Project From Spring Initializer

How To Create Spring  Boot Project From Spring Initializer To Create Spring boot project from spring initializer following steps are required Open Web Browser and type  https://start.spring.io/ To Create Spring Project Click Here Follow the step as given in image Below Finally, Click On Generate the project Button or Press Ctrl+Enter To Generate How  To Create Spring Boot Project From Spring Initializer Watch Video

How To Setup Development Environment For Spring Boot

How To Setup Development Environment For Spring Boot Following steps are required to set up the environment Install Jdk1.8.0_181 Setup Java Path Install Maven Setup maven path Step: 1 Download Jdk 1.8.0  and Install it To Download JDK Click Here Step: 2 Setup Java Path as Given Below Step :3 Verify JDK Installation as given below Step: 4  Download & Install Maven  To Download Maven Click Here Step :4 Set Maven Path as given below In the Environment Variables window, under System Variables, click the New button Variable name: M2_HOME  Variable value: c:\maven

Features of Spring Boot

Features of Spring Boot It is very easy to develop Spring Based applications with Java or Groovy. It reduces lots of development time and increases productivity. It avoids writing lots of boilerplate Code, Annotations and XML Configuration. It is very easy to integrate Spring Boot Application with its Spring Ecosystem like Spring JDBC, Spring ORM, Spring Data, Spring Security, etc. It follows the “Opinionated Defaults Configuration” Approach to reducing Developer effort. It provides Embedded HTTP servers like Tomcat, Jetty, etc. to develop and test our web applications very easily. It provides CLI (Command Line Interface) tool to develop and test Spring Boot(Java or Groovy) Applications from command prompt very easily and quickly. It provides lots of plugins to develop and test Spring Boot Applications very easily using Build Tools like Maven and Gradle. It provides lots of plugins to work with embedded and in-memory Databases very e

What Is Spring Boot And Why Spring Boot?

What Is Spring Boot And Why Spring Boot? Spring Boot is not a framework, it is a way to create any kind of spring application with minimal or zero configurations. Spring Boot is a Spring framework module that provides the RAD (Rapid Application Development) feature to the Spring framework. Spring Boot is a way by which you can bootstrap or quickly create Any spring application. Official Definition of Spring Boot: Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run” Springboot = (Spring + Boot) : As per the diagram add the Embedded HTTP server (Tomcat, Jetty, and Weblogic) and remove XML configuration in the spring framework then it becomes spring boot, here spring is a Java Enterprise framework and boot is bootstrap. Why Spring Boot? Develop Spring Application Faster Avoid Boiler Plate Code Convention over configuration Embedded Tomcat Embedded Tomcat Embedded Tomcat How to Downlo

How to setup a third party domain for blogger ब्लॉगर में थर्ड पार्टी डोम...