WebSockets come with Java EE 7 and require no additional dependencies or libraries. Particularly in "microservices architectures" websockets are an interesting option for the implementation of WAR to WAR communication.
In this screencast I created two WARs from scratch and let them communicate via WebSockets:
airhacks.fm the podcast:
Stay in touch: airhacks.news.