Skip to content

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 @MultipartConfig for 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 @GET and @POST methods
  • jaxrs-rsvp - JAX-RS with JPA entities, @Singleton/@Startup lifecycle, 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