How ccaleroutp/bootstrap-demo works
This repository appears to be a small Java web demo for product management, with JSP screens, a servlet, and DAO/model code; the README provides no workflow documentation. The principal inferred path is a user working with product screens, which submit to the servlet and reach persistence through the DAO. These connections are unverified because the sampled source only contains client-side product validation; the remaining components are represented from the file tree, not inspected source.
Main entry points: ProductoServlet.java Product servlet · productos.jsp Products page · editar.jsp Edit page · ProductoDAO.java Product DAO
Components 15
Web interface
- Home page
src/main/webapp/index.jsp - Login page
src/main/webapp/login.jsp - Products page
src/main/webapp/productos.jsp - Edit page
src/main/webapp/editar.jsp - Product validation
src/main/webapp/js/validaciones.js
Product application
- Product servlet
src/main/java/pe/edu/utp/bootstrap/demo/controller/ProductoServlet.java - Product model
src/main/java/pe/edu/utp/bootstrap/demo/model/Producto.java
Persistence
- Product DAO
src/main/java/pe/edu/utp/bootstrap/demo/dao/ProductoDAO.java - Database connection
src/main/java/pe/edu/utp/bootstrap/demo/config/Conexion.java - Persistence config
src/main/resources/META-INF/persistence.xml
Web runtime
- Web configuration
src/main/webapp/WEB-INF/web.xml - Beans configuration
src/main/webapp/WEB-INF/beans.xml - Context configuration
src/main/webapp/META-INF/context.xml
Other components
- User
- Browser
Connections 14
- User → Browser: uses
- Browser → Home page: opens
- Browser → Login page: opens
- Browser → Products page: opens
- Browser → Edit page: opens
- Products page → Product validation: validates with
- Edit page → Product validation: validates with
- Products page → Product servlet: submits to
- Edit page → Product servlet: submits to
- Product servlet → Product DAO: delegates to
- Product DAO → Product model: uses
- Product DAO → Database connection: connects through
- Database connection → Persistence config: configured by
- Web configuration → Product servlet: configures