From the course: Java EE 8: Web Services
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Tracing in JAX-RS - Java EE Tutorial
From the course: Java EE 8: Web Services
Tracing in JAX-RS
- JAX-RS goes a step further in the monitoring space to introduce tracing and statistics support. You might be familiar with tracing. It's a mechanism by which you can track a single message across multiple services within an enterprise to give you full visibility into the path of a transaction. It's achieved by sending HTTP headers across the network. The expectation here is that any component that handles that payload across the network will preserve the headers, helping to identify the path of a transaction across multiple systems, regardless of programming language or platform. JAX-RS's tracing gives very granular detail up to identifying the specific components that have touched a request inside a given JAX-RS application. Whatever filters, interceptors, request matching algorithm, everything is accounted for in the tracing function. Here's how it's done with JAX-RS. Going back to our application config file inside…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.