January 2018
Intermediate to advanced
350 pages
9h 7m
English
The WebSocket endpoint is deployed on /<application_context>/quote, and some exchanges can look like the following:
connect> ws://localhost:9090/quote-manager/quotesend> {"name":"VNET"}received< {"found":true,"value":5.19}send> {"name":"DDD"}received< {"found":true,"value":12.56}disconnect>Connection closed: Close status 1000 (Normal Closure)
What is interesting to see in this communication dump is the fact that the connection lasts for more than one request, and it is based on the symbol more than the identifier (compared to the previous JAX-RS samples).
Read now
Unlock full access