How rio219/webapp_3rdyear works
Project type and purpose
• This is a Java-based full-stack web application (“Webapp_3rdYear”) packaged as a WAR, built with Maven, running on Apache Tomcat, using Jakarta EE, JSP/JSTL for the view layer, and MySQL for persistence.
• It implements a classic layered MVC architecture to support user-facing pages (home, login, signup, cart, product detail), role-based portals (admin, seller, shipper), and back-end management services.
File structure
• Top-level build files: pom.xml (Maven build & dependencies), README.md, .gitignore.
• src/main/java/com/webapp3rdyear
• configs: DBConnectSQL.java, JPAConfig.java → database connection & JPA setup
• controller: packages for admin, seller, shipper, web → servlet controllers handling HTTP requests
• dto: data-transfer objects used between layers
• entity: JPA entity models mapped to database tables
• repository: Spring Data / JPA repositories or DAOs for CRUD operations
• service: business-logic services (login, signup, user operations)
• utils: helper classes (email, password hashing)
• src/main/resources/META-INF/persistence.xml → JPA persistence unit
• src/main/webapp → web content
• WEB-INF: sitemesh & decorators configurations, web.xml
• template, views: JSP pages, static assets (CSS, JS, images), taglibs
• target/Webapp_3rdYear-0.0.1-SNAPSHOT.war → generated deployable artifact
README for additional insights
• Core technologies: Java 22, Jakarta EE 10, Tomcat 10.1, MySQL 8.0
• Uses JSP/JSTL for views, Maven for build automation, MySQL Connector/J for JDBC
• Confirms the intended deployment environment and packaging