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.
Hello again! I decided to start a new tutorial, devoted to the Vert.x framework. This time, we would build a full-stack web application, based on the immortal MVC pattern, using Vert.x and Java, and MongoDB as a data storage. Also we would put a bit of Vue.js in front-end portion of our app for dynamic rendering. Ready? Let start!
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.