How habibabenm/gestion-des-etudiants works
This is a JEE student-record management application. A browser request reaches the servlet, which handles student listing, creation, update, deletion, or CNE search; it delegates persistence to the JDBC method layer and renders JSP views. The model, JDBC connection, and DAO exception are the internal layers documented by the README. The source excerpts establish servlet-to-method and method-to-connection dependencies; SQL schema details and JSP rendering internals are not sampled, so those relationships are limited to documented routing and calls.
Main entry points: EtudiantServlet.java Student servlet · EtudiantMeth.java Student operations · ConnectionManager.java JDBC connection · Etudiant.java Student model
Components 12
Web interaction
- Student servlet
src/servlets/EtudiantServlet.java - Add form
WebContent/WEB-INF/ajout.jsp - Student list
WebContent/WEB-INF/list.jsp - Delete form
WebContent/WEB-INF/delete.jsp - Update form
WebContent/WEB-INF/update.jsp - Search form
WebContent/WEB-INF/recherche.jsp
Student domain
- Student model
src/Dao/Etudiant.java
JDBC persistence
- Student operations
src/Method/EtudiantMeth.java - JDBC connection
src/Method/ConnectionManager.java - MySQL database
Etudiant.sql
Error handling
- DAO exception
src/Exception/DaoException.java
Other components
- Browser user
Connections 13
- Browser user → Student servlet: sends request
src/servlets/EtudiantServlet.java - Student servlet → Student operations: invokes operations
src/servlets/EtudiantServlet.java - Student servlet → Add form: forwards add
src/servlets/EtudiantServlet.java - Student servlet → Student list: forwards list
src/servlets/EtudiantServlet.java - Student servlet → Delete form: forwards delete
src/servlets/EtudiantServlet.java - Student servlet → Update form: forwards update
src/servlets/EtudiantServlet.java - Student servlet → Search form: forwards search
src/servlets/EtudiantServlet.java - Student servlet → Student model: constructs model
src/servlets/EtudiantServlet.java - Student operations → Student model: maps records
src/Method/EtudiantMeth.java - Student operations → JDBC connection: uses connection
src/Method/EtudiantMeth.java - JDBC connection → MySQL database: opens JDBC
src/Method/ConnectionManager.java - JDBC connection → DAO exception: wraps failures
src/Method/ConnectionManager.java - Student operations → DAO exception: wraps SQL errors
src/Method/EtudiantMeth.java