Summary

In this chapter, we covered how to develop Java EE applications using the new WebSocket protocol. First, we examined a sample application using WebSocket provided by NetBeans, examining its source code to better understand how to write our own applications. We then applied that knowledge to develop our own WebSocket application via the new Java API for WebSocket introduced in Java EE 7, taking full advantage of NetBeans wizards to aid us in the creation of our application.

Get Java EE 7 Development with NetBeans 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.