How hjain5164/student_management_system works
Main Components
• User Interfaces – There are three modules (Admin/Owner, Faculty, and Student) which are handled by separate JSP pages (e.g., admin_home.jsp, student_home.jsp, faculty_home.jsp, etc.) under both the “build/web” and “web” directories. These pages are what the end users interact with.
• Backend Controllers/Servlets – The Java source files in the “src/java” directory (like login.java, register_course.java, enrollStudent.java, update_attendance.java, and so on) implement the application’s business logic and handle requests sent from the UI.
• Database – The application relies on a MySQL database. Although the actual database schema is not displayed here, the README instructs that the databases should be created as provided in some files, implying database-related scripts or configurations are available externally.
• Build & Deployment – The build process using Ant is indicated by files such as build.xml, and the final deployment artifact is the WAR file found in “dist/Student_Management_System.war”. There is also configuration for the GlassFish server indicated (e.g., glassfish-web.xml).
• External Libraries – Libraries such as “commons-fileupload”, “commons-io”, and the MySQL Connector (com.mysql.jdbc.jar) found in the “WEB-INF/lib” directory, indicate additional functionality such as file uploads, I/O utilities, and database connectivity.
• The external libraries act as parts of the backend system—handle file uploads, input/output management, and database connectivity. You might annotate or group these as “External Dependencies.”
Important Architectural Patterns
• MVC (Model-View-Controller) Pattern – The separation is evident between the JSP pages (View), Java classes (Controller/Model handling logic and data), and the underlying database (Model).
• Build and Deployment Infrastructure – The Ant build scripts and folder structure underline a standardized way of building, testing, and deploying the project.
• Modular design with three distinct modules representing different user roles.
Technologies and Frameworks
• Web Technology: JSP, Servlets, HTML, CSS, JavaScript
• Backend: Java (located under “src/java”) with MVC implementations
• Database: MySQL
• Build Tools: Ant (build.xml and nbproject files)
• Server: GlassFish (as per glassfish-web.xml)
• External Libraries: Apache Commons FileUpload, Commons IO, MySQL Connector