Sign in

Hibernate started a subproject — Hibernate Reactive for Reactive Streams support, but at the moment when I wrote this post, Spring still did not embrace Hibernate Reactive. The good news is the integration work is not complex. …


In a previous post, we have covered consuming RESTful APIs with Vertx HttpClient and WebClient. In this post, we will consuming the GraphQL APIs we created in the last post.

Photo by Sam Balye on Unsplash

Firstly, let’s review the difference between the HttpClient and WebClient.

  • The HttpClient is a low level API, which provides fine-grained…


We have discussed GraphQL in a former Quarkus GraphQL post. In this post, we will explore the GraphQL support in Eclipse Vertx.

Photo by Yang Shuo on Unsplash

Quarkus also includes an alternative GraphQL extension which use the Eclipse Vertx GraphQL feature.

Follow the steps in the Building RESTful APIs with Eclipse Vertx and create a…


In the Spring integration post, we use Spring to assemble the resources and start up the application.

Photo by 昊蓝 毛 on Unsplash

In this post, we will reuse the Spring base codes, but:

  • Use Hibernate Reactive to replace the raw Postgres Client
  • and use SmallRye Mutiny Vertx bindings to replace the original Vertx API, eg…


In the last post, we introduced a simple approach to integrate Vertx applications with Spring framework. In this post, we will try to integrate Vertx application with CDI to replace Spring.

Photo by Robynne Hu on Unsplash

CDI is a Dependency and Injection specification which is introduced in Java EE 6, currently Java EE is renamed…


As shown in the former we assembled everything manually in the MainVerticle class. We will use Spring IOC to manage the dependencies.

Photo by Hanson Lu on Unsplash

For example, it looks like the following.

//Create a PgPool instance
var pgPool = pgPool();
//Creating PostRepository
var postRepository = PostRepository.create(pgPool);
//Creating PostHandler
var postHandlers = PostsHandler.create(postRepository);
//…


In the last post, we rebuild the example application with Kotlin language. Besides basic language support, Eclipse Vertx’s Kotlin bindings provides Kotlin extensions to convert Vertx’s Future to Kotlin Coroutines.

Photo by Yuzki Wang on Unsplash

Follow the steps in the last post to create a Kotlin based Vertx project, we will rebuild the project with…


As mentioned in the former posts, Eclipse Vertx expands its API to different languages such as Kotlin, Groovy via official bindings, and even Node/Typescript and PHP via community supports.

Photo by Ben Gao on Unsplash

In this post, we will re-implement the former RESTful APIs with Kotlin language.

Open your browser and navigate to Eclipse Vertx…


Eclipse Vertx has a great codegen mechanism to bring its Event Loop based asynchronous programming model to diverse platforms, including other asynchronous libraries, such as RxJava2/3 and SmallRye Mutiny and different languages, such as Kotlin, Kotlin Coroutines, and even Node/Typescript, PHP etc.

Photo by Mèng Jiǎ on Unsplash

In this post, we will refactor the RESTful…


We have discussed how to build RESTful APIs with the basic Eclipse Vertx Web feature. In this post, we will cover how to create a Http Client and interact with RESTful APIs.

Photo by Joshua Earle on Unsplash

Similar to the creating of HttpServer, you can create a HttpClient from Vertx instance.

var options = new…

Hantsy

Self-employed technical consultant, solution architect and full-stack developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store