Eclipse Vert.x Cheat Sheet Cover

Eclipse Vert.x Cheat Sheet

Clement Escoffier
English

About

Applications using Eclipse Vert.x are fast, responsive, resilient, and elastic. They are event-driven, nonblocking, and can run on top of the Java Virtual Machine while offering many language choices.  

In this cheat sheet, author Clement Escoffier provides step-by-step details to let you create your apps the way you want to. Learn about:

  • Programming with Vert.x
  • Reactive Systems
  • Creating apps with Apache Maven, Gradle, and Vert.x CLI
  • Verticles
  • EventBus
  • And more…

Excerpt

2.A Create a Vert.x application with Apache Maven

Command
Description
# Linux and MacOS
git clone https://github.com/vert-x3/vertx-maven-starter.git PROJECT_NAME
cd PROJECT_NAME
./redeploy.sh
# Windows
git clone https://github.com/vert-x3/vertx-maven-starter.git PROJECT_NAME
cd PROJECT_NAME
redeploy.bat
Generate and Run
It generates the project structure and start the application in redeploy mode: your changes recompile and restart the application. The started application is accessible from http://localhost:8080
mvn package
Package
An executable fat jar is created in the target directory.
Add the dependency in the pom.xml file
Dependency management
Add the dependency in the pom.xml file
Import the project as a Maven project in your favorite IDE
IDE support

 

2.B Create a Vert.x application with Gradle

git clone https://github.com/vert-x3
Generate and Run

Related Cheat sheets