Hello all! In this post (or better to say in a series of 2 posts) we would talk about using 2 factor authentication with Vertx applications. I’ve already described, how we can enable SMS two-factor authentication in Vertx. Although, in the previous publication, I concentrated on a delivery method itself, and today we gonna dive into the subject of one-time passwords itself. So, we would start with what is an one-time password, how it is used and then would build a first half of the example app – signup part. In the next part we would continue and finish login and validation matters.
Hello! This post continues in some way the topic of how to get configuration in Vertx apps. We’ve observed general principles, and today we would dive into concrete case study – reading configuration from secured Vault storage. We would talk about how to use Vault server and store data in it, and then how to access this configuration within Vertx app. I encourage you to read my previous post to grab an idea about Vertx Config model. Let start!
Hi again! I want to talk today about Vertx-Config library, that is the prefered way to get configuration in Vertx apps. It offers abstraction layer for various type of configs – properties files, system vars; as well some more exotic stores, that are available via extensions – Vault, Kubernetes and others. In this post we would observe Vertx Configuration model, and take a look on built-in configuration providers. Later, we would see how to track configuration updates during runtime.
Hi there! Today we would talk about money. Well, not exactly about how to get more money (although, a good topic), but how to work with money in Java. When we deal with money in Java we usually refer to BigDecimals, also there is a very useful library from the famous Joda project – Joda-Money that simplifies money operations. In this article we would highlight how to install this library in your project, create Money instances, do calculations and what is a difference between Money and BigMoney. Let start!
Hello again! This time I would like to talk about marker interfaces in Java. Every Java developer has seen them, although not everybody is aware that there is a specific word for this type of interfaces. In this post I would like to focus on following points: what is a marker interface, which built-in marker interfaces do we have and how they are compared with another concept – annotations.
Hi there! In this short post, I would like to demonstrate you, how to write a very simple Websockets server with Vert.x and Java. Basically, it is not a rocket science, you even don’t need to have additional dependencies – only Vert.x Core. Moreover, it is easy! Let start!
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.