Managing the Vert.x core API

For the purpose of learning about the Vert.x core API, we will be using a modified version of our basic customer service application, which we discussed in Chapter 4, Adding Web Interfaces to Quarkus Services. You can find the source code for this example of the Chapter09/core/customer-service folder in this book's GitHub repository. We recommend that you import the project into your IDE.

Now, let's dive straight into the code. Since the Vert.x core API is based around the callback mechanism, in order to leverage asynchronous and non-blocking APIs, for our customer service example we have added two functions that will read and write a list of customers from the filesystem in JSON format. Where shall we write our ...

Get Hands-On Cloud-Native Applications with Java and Quarkus 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.