Created
June 17, 2016 09:23
-
-
Save abhirockzz/01542e0e8d362554d116f3e214295817 to your computer and use it in GitHub Desktop.
Embedded Websocket container using Tyrus Grizzly container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TyrusGrizzlyWebsocketRunner { | |
public static void main(String[] args) throws DeploymentException, IOException, InterruptedException { | |
Server server = new Server("localhost", 8080, "", null, MyWsendpoint.class); | |
server.start(); | |
System.out.print("---- Server Started -----"); | |
new CountDownLatch(1).await(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment