JSR 356 WebSockets are one of the new and exciting features in the upcoming JEE 7 release and includes Server-…