Crud operations using Spring Boot, JPA, RestAPI, Postman and MYSQL

Create, Read, Update and Delete using spring boot, Hibernate, JPA, Postman, and MYSQL. In this tutorial, we will create Restapis to perform crud operations. This example uses eclipse and Lombok plugins and the project is created by the Spring Initializer tool. Its a maven project and below are the required maven dependencies that need to …

Crud operations using Spring Boot, JPA, RestAPI, Postman and MYSQL Read More »

How to disable first option in select drop in spring form

disabled=”disabled” Is used to disable the first options in the select dropdown in spring form below is the example <sf:select class=”select form-control-lg” path=”type”> <option selected=”true” disabled=”disabled”>Select Leave Type</option> <sf:option value=”CL” label=”CL”/> <sf:option value=”PL” label=”PL”/> <sf:option value=”SL” label=”SL”/> </sf:select> Disable input into the spring form readonly=”true”An attribute will disable any input field into the spring form. …

How to disable first option in select drop in spring form Read More »

How to implement MVC architecture in a java web project

Model view controller(MVC) is a project resource management architecture that divides the development process into 3 parts Model, View, and Controller. In this tutorial, I will cover what is MVC, Why we use MVC, and most importantly How to implement MVC architecture into a java web project? What is MVC MVC is known as model view …

How to implement MVC architecture in a java web project Read More »

Search Medicine project in Java using JSP, Servlet, JDBC and MYSQL

Online Search medicine project in java with source code and project report. Search medicine projects in java using JSP, Servlet, JDBC, MYSQL, Tomcat, and maven. it is a web application running on a browser and deployed over the tomcat server. This is a J2ee, Maven project, and following MVC architecture, So According to the MVC. …

Search Medicine project in Java using JSP, Servlet, JDBC and MYSQL Read More »

RestAPI token authentication in spring boot using JWT and Spring boot

Following are the required Steps to configure, RestAPI token authentication in spring boot using JWT and Spring boot using JPA, MYSQL, and PostMan. Maven Dependencies  <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.0</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-test</artifactId> <scope>test</scope> </dependency> The main class of Spring boot ProjectName_Application.Java: package com.jwt; import com.jwt.model.User; import com.jwt.repo.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import …

RestAPI token authentication in spring boot using JWT and Spring boot Read More »