Skip to content

Basic user registration and login system, user and products management web application using JSP, Servlet, Maven and Hibernate.

Notifications You must be signed in to change notification settings

rubensdimasjr/jsp-maven-hibernate-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

JSP Maven Hibernate CRUD Example

🚀 Basic user registration and login system, user and products management web application using JSP, Servlet, Maven and Hibernate. This web application manages a colletion of users and products with the basic feature: list, insert, update and delete (CRUD operations - Create, Update, Read and Delete).

GitHub issues GitHub forks GitHub stars 

👨‍💻 Tech Stack

and more...

🪶 Features

  • Customer registration
  • Product registration
  • User login
  • Session treatment
  • Shopping cart
  • User profile and settings

🌍 Preparing Environment

Needs to be installed in your PC: Git, Node.js, Java JDK 11+. IDE to work with the code like Eclipse, IntelliJ, both with application server installed, Apache Tomcat 9 or other. MySQL Workbench or similar to manage database (important! case switch the tool to manage, it's necessary change the JDBC Driver).

Getting Started

# Clone repository or Download ZIP 
$ git clone <https://github.com/rubensdimasjr/jsp-maven-hibernate-crud>

Opening SQL script (MySQL Workbench)

  1. File > Run SQL script > script.sql

Importing repository (Eclipse)

  1. Open Eclipse IDE -> File > Import

    Import

  2. Seach for Maven -> Select "Existing Maven Projects" -> Next > Root Directory, Browse...

Maven Project

  1. Select repository until find > pom.xml > Open Folder

Pom XML

  1. Finish.

Finish

Modifying Dao interface class and others

  • Open src/main/java > package dao > Provedor.java
# Change for your connection credential
 String username = "root";
 String pwd = " ";
  • Open src/main/java > hibernate.cfg.xml
# Change property hibernate connection
  <property name="hibernate.connection.username">root</property>  
  <property name="hibernate.connection.password"> </property>  

🗒 Note (important!)


🇦🇱 Autor

Rubens

Feito por Rubens Matias 🚀 Entre em contato!

Linkedin Badge Gmail Badge

About

Basic user registration and login system, user and products management web application using JSP, Servlet, Maven and Hibernate.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages