Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 802 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 802 Bytes

Java project with integration of Database

Goal: The purpose of this project is to test java application connectivity with AWS RDS(MySQL)

Database Info

  • Database Name : jwt
  • src/main/webapp/login.jsp
  • src/main/webapp/userRegistration.jsp

Steps for creating Schema

CREATE TABLE USER (id int(10) unsigned NOT NULL auto_increment, first_name varchar(45) NOT NULL, last_name varchar(45) NOT NULL, email varchar(45) NOT NULL, username varchar(45) NOT NULL, password varchar(45) NOT NULL, regdate date NOT NULL, PRIMARY KEY (id)) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Steps for building/running this project

Be in the project directory

  • mvn package
  • Copy the artifact i.e war file from target directory to Application Server Webapps directory