Presentation#
Web tier implementations including servlets, JAX-RS REST APIs, WebSocket endpoints, server-sent events, file uploads, filters, listeners, and real-time communication patterns.
Examples#
- dukeetf - Async servlet with server-sent events for real-time updates
- dukeetf2 - WebSocket server endpoint for bidirectional real-time communication
- fileupload - Servlet file upload using
@MultipartConfigfor multipart/form-data handling - hello-servlet - Basic HTTP servlet with request/response handling
- jaxrs-customer - JAX-RS REST API with CRUD operations, JPA entities, and client invocation
- jaxrs-hello - Simple JAX-RS resource with
@GETand@POSTmethods - jaxrs-rsvp - JAX-RS with JPA entities,
@Singleton/@Startuplifecycle, and RESTful CRUD - mood - Servlet filters and listeners for request/response processing and lifecycle events
- websocketbot - WebSocket encoders/decoders with session management for chat application