January 2018
Intermediate to advanced
350 pages
9h 7m
English
Implementing an HTTP server is one of the main purposes of Java EE. Using the Servlet API, JAX-RS, or even JAX-WS, you can easily expose data over HTTP without caring for the transport.
However, HTTP defines a caching mechanism that is interesting to take into account in order to optimize the client's behavior.
The common communication with your server will look as follows:

The server makes a request and the client sends back some data in headers and a payload (which can be huge). On the previous schema, it is a JSON payload, but don't forget that your web applications will probably also serve images and other sorts of resources, ...
Read now
Unlock full access