Created
July 28, 2015 19:21
-
-
Save InfoSec812/6af01a9f40cf000de237 to your computer and use it in GitHub Desktop.
Using the Main.java class to deploy the WebServer verticle.
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
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