Hola a todos! En este articulo vamos a hablar sobre mi tema mas favorito – microservicios reactivos con Vert.x. Vert.x es un framework para el desarrollo de aplicación orientada sa eventos que se ejecuta en JVM. Y, que es importante, Vert.x es un “polyglot”. En este articulo usamos solamente Java, sin embargo las aplicaciones pueden ser escritas también en Scala, JS, Python, Ruby, Kotlin, Groovy.
Hello, world! In this tutorial I would like to talk a bit about vertx-junit5. Don’t confuse it with more known vertx-unit library. This is a JUnit5-specific extension that you could use in order to simplify testing of Vert.x applications. And to make it more JUnit5-native.
In this post (or better to say in series of two posts), we would add some serverless flavour to your Vert.x apps. We would implement an API gateway pattern with Vert.x and Java, and than we would connect it with a function. In the first post we create the gateway itself, and in the second post we would build a serverless function, deploy it and connect with Vert.x.
var fue introducido en Java 10. Con var puedes mejorar legibilidad de tu código para otros desarrolladores. Por otro lado, var no es una palabra clave estrictamente. En este artículo aprendes, donde podemos usar var en Java y donde no podemos usar esta construcción.
If you are in IoT, then this is true, that you are familiar with MQTT protocol. It is a common way to connect hardware devices with cloud infrastructure. MQTT relies on brokers to transmit messages, but you can easily build it with Vert.x and not depend on a 3rd party solution.
While working on our Codesity’s first very own project, I faced a problem of connecting existing Vert.x microservices architecture with blockchain storage. As there is no publications on how to do it with Vert.x (only with Spring Boot), I decided to write this small case study.
In this tutorial, I would like to focus on unit testing in Java with JUnit5 library. It introduced new features and approaches to testing, compare to older JUnit 4 version, that are worth to check. We would overview what is unit test and why to test; how to install JUnit 5 in your project; what is a basic test structure; how to use Assertions API and how to combine multiple tests in a test suite.
When you build a micro services application, the question of inter-part communication arises. But good news are that you don’t need develop it from scratch – there is a concept called messaging, that we use to create communication between parts of distributed applications. In this post we would observe what is a message channel and which kinds of message channels are defined. And of course, we would see, how to code them using Vert.x and Java.
Take a real-life example: ride-hauling application, like Uber, Yandex.Taxi or Lyft. In such kind of project, we need to store rides’ data, as a current status or location, and this information must be updated constantly. But how? In this article we explore how to simplify a data-management in reactive applications with DaoFactory and Vertx framework.
In this series of posts, I would teach you, how to create a complete reactive micro service application with Vert.x and Java, connect it with your data source, test and deploy on Heroku platform.