Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 2.54 KB

File metadata and controls

63 lines (47 loc) · 2.54 KB

JSF Student Management CRUD Application

A Java web application demonstrating CRUD operations using the JSF framework, PrimeFaces, and JPA (Hibernate), deployed on GlassFish 4 with MySQL as the backend database. This project implements a dynamic student form, interactive UI elements, and a modal dialog (PrimeFaces <p:dialog>) for editing.

Features

Student Form Student Name Student Address Student Class (dropdown) Subjects (dropdown — values change based on selected class) Save button to insert data into the database

Dynamic Dropdowns

Selecting a Student Class updates the Subjects dropdown automatically.

Data Table

Displays all saved records immediately after insertion

Includes an Actions column with:

Edit — opens PrimeFaces dialog with editable form Delete — removes the record from MySQL

PrimeFaces Dialog

Pre-populated form for editing Update button to save changes back to the database

Backend

Uses JPA for database CRUD operations Uses @ViewScoped Managed Beans (javax.faces.bean.ViewScoped) MySQL database integration

Technologies Used

Layer Technology Frontend = JSF, PrimeFaces Backend = Java, JPA (Hibernate provider) Server = GlassFish 4.0 Database = MySQL Java Version = JDK 8 View Scope = javax.faces.bean.ViewScoped

#GlassFish -> Applications image

#Landing Page of StudentApp image

#Add new student with dynamic subject listing image image image

##saving image

#editing student image image

#deleting image