Software Craft

Stay on the Microservices Path

Microservices Architecture is a popular approach these days. As a developer we always desire to work with up to date framework and tools, but most of the time we don't consider all things together we choose microservices as our Architecture, but we think and behave in a monolith way Involuntary. In this article I want to review some popular mistakes we made when we wanted to work in microservices.

Spring boot

Run Cucumber integration test on Spring Project

What is the BDD? What is cucumber integration testing? How we should write feature files? How we should config cucumber on the Spring context? In this post, we have a web base interactive game, and we want to test it with Cucumber.

Create interactive game with Spring Boot and WebSocket

In this post, I'm going to show you how to create a WebSocket server in Java using Spring Boot, we will learn these together while developing the two-player Mancala game ...

How to use Spring boot and Kafka to build a project based on microservices architecture

This is a good example of how Spring boot works with Kafka as a message broker. In this project, I also use MongoDB and Docker. I show you how to write a test for producers and consumers and how to use docker-compose for configuring Kafka in your dev environment ...

Spring Boot Admin Panel

If you work with spring boot and microservices and need admin UI for your services you should definitely try codecentric’s Spring Boot Admin. It’s a powerful community project that provides an admin interface for Spring Boot applications.

lifestyle

Continuous Life Refactoring with TDD Approach

These days I'm refactoring myself, and I hope writing here could be a part of this refactoring. As a developer, we should like refactoring. The main goals of refactoring are making our code more efficient, more readable, and more elegant, so we should think about ...

Azure

An Overview of Azure Integration Services based on a practical scenario

In this post, I'm going to define a practical scenario for integrating systems and then answer "How Azure integration services can help us for design a solution for scenarios like this?"