Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Embedded Websocket container using Tyrus Grizzly container
public class TyrusGrizzlyWebsocketRunner {
public static void main(String[] args) throws DeploymentException, IOException, InterruptedException {
Server server = new Server("localhost", 8080, "", null, MyWsendpoint.class);
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