Kesha Williams explains adding interceptors and filters to web services.
- [Instructor] Let's learn about interceptors and filters…and how useful they can be.…Interceptors and filters are useful techniques…that allow you to capture a request before it is handled…by your application or a response before…it is sent to the client.…All requests or responses to and from your application…can be captured on an application wide level…and you can manipulate them any way that you see fit.…Why would you want to do this?…So for example, you may have needs around logging…and you want to log specific information…about all requests coming to your application.…
Or you're concerned about security…and you want to ensure all requests to your API…are authenticated and authorized.…And that will be our use case sample for today.…And what about encryption?…You may need to encrypt messages.…An interceptor gives developers access to the message body.…A filter gives developers access…to all the messages that pass through.…Filter can easily access query parameters,…HTTP headers, et cetera.…
It's possible to have multiple filters and interceptors.…
- Comparing when to use JAX-WS vs. JAX-RS
- Using JAX-RS annotations
- Accessing REST resources with JAX-RS
- Creating JAX-WS endpoints
- Writing RESTful services using JAX-RS
- Reading, writing, updating, and deleting data via endpoints
- Mapping to entities
- Error handling
- Testing web services
- Securing Java EE web services
Skill Level Intermediate
Java EE: RESTful Service with JAX-RS 2.0with Alex Theedom2h 17m Intermediate
WebSocket Programming with Java EEwith Alex Theedom1h 29m Intermediate
1. Understanding Web Services
2. Building RESTful Web Services with JAX-RS
3. Accessing REST Resources with the JAX-RS Client API
4. Building SOAP Web Services with JAX-WS
5. Searching, Error Handling, and Testing in Web Services
6. Documentation, Logging, and Tracing
Next steps1m 51s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.