A Java-based auction web application built with Jakarta EE. This project demonstrates a full-stack marketplace prototype with authentication, product listings, and admin management.
- Java: 21
- Framework: Jakarta Servlet / JSP (EE 6.0)
- Build: Maven 3.8+
- Database: MySQL 8.x
- Server: Apache Tomcat 10.1+
- ✅ Authentication & authorization
- ✅ Product listings & admin dashboard
- 🔄 Bidding engine (in progress)
- 📋 Product details, bid history, auction close logic (planned)
src/main/java/com/nettenz/ebay/
├── db/ # Database connection
├── dao/ # Data access layer
├── servlet/ # Auth, product, admin, image endpoints
├── filter/ # Auth & role-based access
└── util/ # Password hashing
src/main/webapp/
├── index.jsp
└── WEB-INF/jsp/ (auth, product, admin views)
db/schema.sql
uploads/ # Product images
Java 21 · Maven · MySQL 8 · Tomcat 10.1+
mysql -u root -p
SOURCE db/schema.sql
mvn clean package
cp target/ebay-1.0-SNAPSHOT.war $CATALINA_HOME/webapps/Access: http://localhost:8080/ebay-1.0-SNAPSHOT/
- Session-based authentication with BCrypt hashing
- USER / ADMIN role separation via servlet filters
- Product creation, browsing, and categorization
- Image upload or external image URL support
- Admin dashboard for users, products, and departments
Core tables: users, products, departments, bids
See db/schema.sql for full DDL.
Implemented: BCrypt hashing, PreparedStatements, role-based access
Planned: CSRF tokens, HTTPS, XSS sanitization, rate limiting
- Database credentials and upload paths are currently hardcoded
- Use environment variables in production
Emanuel
Systems and Architectural Replica · Started December, 2025