-
The localStorage and sessionStorage properties allow to save key/value pairs in a web browser.
-
The sessionStorage object stores data for only one session (the data is deleted when the browser tab is closed)
-
To ensure that header menus are updated whenever the router is called we need to wrap HeaderComponent with a call to withRouter.
-
Spring Boot is an open source Java-based framework used to create a Micro Service. It is developed by Pivotal Team.
-
Spring Boot contains a comprehensive infrastructure support for developing a micro service and enables you to develop enterprise-ready applications that you can “just run”.
-
Maven is a build automation tool used primarily for Java projects.
-
Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories such as the Maven 2 Central Repository, and stores them in a local cache.
-
In Spring MVC all incoming requests go through a single servlet is called Dispatcher Servlet (front controller). The front controller is a design pattern in web application development. A single servlet receives all the request and transfers them to all other components of the application.
- Install vscode-spring-initializr Extension (Spring Initializr)
- Once you have the extension installed, open the Command Palette (⇧⌘P) and type Spring Initializr to start generating a Maven or Gradle project and then follow the wizard.
- Generate Maven Project --> Java
- Install Spring Boot Tools And Spring Dashboard (Run the application) Extensions.
The meaning of Encapsulation, is to make sure that "sensitive" data is hidden from users. To achieve this, you must:
- declare class variables/attributes as private
- provide public get and set methods to access and update the value of a private variable
- The get method returns the variable value, and the set method sets the value.