A web-based Hospital Management System (HMS) developed using Java Web Technologies to simplify hospital operations such as patient registration, doctor management, appointment scheduling, and administrative tasks. The application follows the MVC architecture using JSP, Servlets, JDBC, and MySQL, and is deployed on the Apache Tomcat Server.
- Admin login authentication
- Add, update, and delete doctors
- Manage doctor specializations
- View registered patients
- View and manage appointments
- Change password
- Secure doctor login
- View assigned appointments
- View patient details
- Update appointment status
- Edit profile information
- Change password
- User registration and login
- Book appointments with doctors
- View appointment history
- Update account password
- HTML
- CSS
- Bootstrap
- JSP (JavaServer Pages)
- Java
- Java Servlets
- JDBC
- MySQL
- Apache Tomcat
- Eclipse IDE
- Maven
The Hospital Management System follows the MVC (Model-View-Controller) architecture. Users interact with the application through a web browser, where requests are handled by Java Servlets. The Servlets communicate with the DAO layer using JDBC to perform database operations, while MySQL stores and manages all application data.
- Java JDK 8 or above
- Apache Tomcat 9.x
- MySQL Server
- Eclipse IDE (Enterprise Edition)
- Maven
git clone https://github.com/your-username/Hospital-Management-System.git- Open Eclipse IDE
- Import the project as a Maven Project
- Create a MySQL database.
- Import the provided
hospitals.sqlfile. - Update the database credentials in
DBConnection.java.
- Add Apache Tomcat to Eclipse.
- Deploy the project to the server.
Start the Tomcat server and open:
http://localhost:8080/MediCare/
- Patient registers and logs into the system.
- Patient books an appointment with a doctor.
- Admin manages doctors and appointments.
- Doctor logs in to view assigned appointments.
- Doctor updates appointment status.
- Patient can track appointment details.
The application uses MySQL to store:
- Patient Details
- Doctor Information
- Admin Information
- Appointment Records
- Doctor Specializations
- Java Servlets
- JSP
- JDBC Connectivity
- MVC Architecture
- Session Management
- CRUD Operations
- Form Validation
- Authentication & Authorization
- Maven Project Structure
This project provided practical experience with:
- Java Enterprise Web Development
- Apache Tomcat Deployment
- MySQL Database Design
- JDBC Connectivity
- MVC Design Pattern
- Session and Authentication Management
- CRUD Application Development