- Admin Login
- Admin Dashboard
- Doctor Add
- Doctor Login
- Patient view
- Patient Login
- Appointment Booking
- Manage Database for Doctor and Patient
- Create Servlets for differnt Modules
- Proper Exception Handling
- Authentication using DataBase
- Java
- Advance Java (Servlet,Jsp)
- Mysql
- BootStrap
- Tomcat
- Maven
package com.Db;
import java.sql.Connection;
import java.sql.DriverManager;
public class DBConnect {
private static Connection conn;
public static Connection getConn() {
try {
Class.forName("com.mysql.cj.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/hospital_2", "root", "root123");
} catch (Exception e) {
e.printStackTrace();
}
return conn;
}
}