2 Verticles: The basic processing units of Vert.x

This chapter covers

  • What verticles are
  • How to write, configure, and deploy verticles
  • The Vert.x threading model
  • How to mix Vert.x and non-Vert.x threads

Put simply, a verticle is the fundamental processing unit in Vert.x. The role of a verticle is to encapsulate a technical functional unit for processing events, such as exposing an HTTP API and responding to requests, providing a repository interface on top of a database, or issuing requests to a third-party system. Much like components in technologies like Enterprise JavaBeans, verticles can be deployed, and they have a life cycle.

Asynchronous programming is key to building reactive applications, since they have to scale, and verticles are ...

Get Vert.x in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.