Here you will find examples demonstrating how Vert.x can be used with Java 9 anonymous modules.
The application is a Java 9 module that uses Vert.x jars as anonymous modules:
-
vertx.core
-
vertx.web
-
vertx.sql.common
-
vertx.jdbc.client
There are three examples, you can run these in the IDE
-
http2: a simple HTTP/2 server (io.vertx.example.java9.http2.Server#main)
-
jdbc: uses Vert.x JDBC client (io.vertx.example.java9.jdbc.JDBCExample#main)
-
web: a simplistic Vert.x Web app (io.vertx.example.java9.web.Server#main)
These examples focus on the declaration of Vert.x components used as Java 9 anonymous modules.
To know more about
-
Vert.x Core: refers to the core-examples
-
Vert.x Web: refers to web-examples
-
Vert.x JDBC Client: refers to jdbc-examples