Skip to content

Instantly share code, notes, and snippets.

@InfoSec812
Created July 28, 2015 19:21
Show Gist options
  • Save InfoSec812/6af01a9f40cf000de237 to your computer and use it in GitHub Desktop.
Save InfoSec812/6af01a9f40cf000de237 to your computer and use it in GitHub Desktop.
Using the Main.java class to deploy the WebServer verticle.
package com.mycompany.vertx.demo;
import io.vertx.core.AbstractVerticle;
/**
*
*/
public class Main extends AbstractVerticle {
@Override
public void start() throws Exception {
vertx.deployVerticle(new WebServer());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment