Senior Software Engineer at Microsoft - OWASP Project Leader - Author & Speaker

Category: Java (page 1 of 3)

Playing with Reactive Spring Boot

Reactive programming ! Wow ! What a fancy buzzy word ! I waited so much to write a blog post about this trend 😃  I was waiting for the landscape to be mature to made a one-shot tutorial 😁

Today, I will show you how to make a Reactive Spring Boot application, with a Reactive CRUDs using Spring Data Reactive Relational Database Connectivity (R2DBC) with PostgreSQL and for sure the famous Webflux. Don’t be scared if you don’t know any of these topics. We will be introducing all of them smoothly !  😊

But before digging into the practice, I will be making small story-telling about the fundamentals of the reactive programming. 😎

Read more

Playing with Java from 9 to 13

Since the release of Java SE 8, all the developers were under the charm of the Lambdas, Streams and even there those who fell in love with Nashorn for years (yes there are somewhere in this globe 😅).. With the crazy growth of the Enterprise Development context thru Spring Boot/Cloud, Docker, Kubernetes and the unlimited number of JS frameworks, the infinite patterns and styles of architectures, many developers lost the frequency of being up-to-date with the upstream 🤪 

I was one of the unsynchronized Java developers that couldn’t get up-to-date with all this crazy new comers everyday 🥺🤯 I got the idea to write a new post, to help Java developers get upToDate Quickly on the last five Java Releases 😁

Read more

Playing with CQRS and Event Sourcing in Spring Boot and Axon

The Microservices Architecture World, we can meet many concepts and patterns, like the Centralized Configuration, Circuit Breaker, Service Registry and Discovery, etc.. Two of these patterns are the CQRS and the Event Sourcing patterns, coming from the Domain Driven Design planet 🌏 In the most of the use-cases, these two patterns are sold together 😁 in this new tutorial, we will discover what does each one ? why they are usually used together ? and for sure we will implement these two patterns in Java ☕️ obviously 🤓

Read more

Playing with the JVM inside Docker Containers

Nowadays, the most of the Java microservices and even many Java application are packaged and deployed as Docker containers. Everyone is enjoying (I hope 😆) the Docker experience, compared to the traditional VMs. But, the Docker containerization will not come alone.. nothing is autonomous 😁 So, there are many concerns to take into consideration while containerizing Java applications, like playing with the JVM.

Read more

Playing with Serverless in Kubernetes with Knative

The serverless architecture became one of the most buzzy words nowadays. Almost all the cloud providers have a Serverless platforms in their catalogues:

  • Microsoft Azure Functions
  • Amazon Web Services Lambda
  • Google Cloud Functions
  • IBM Cloud Functions
  • Oracle Functions

In an other world, there are many solutions to have a Serverless Runtime into Kubernetes, which is the most popular (and the most wonderful) container orchestrator in the market. These solutions are so helpful especially if you need portability for your functions. For example, you can have the same Serverless Runtime deployed to Azure Kubernetes Service and Google Kubernetes Engine. You can be deploying the same binaries as functions identically to both of the cloud providers.

In this tutorial, I will demonstrate how to deploy a Serverless Framework to Minikube and on which we will deploy some Functions based on Spring Boot Framework.

Read more

Playing with Spring Cloud in Azure Functions

In this tutorial, we will be experimenting a new use case of the great Azure Functions service 😁 one of my favorite products in Azure.

In this tutorial, we will bring the powerful features of the Spring Framework to our Azure Functions Java projects. After this tutorial, creating a new Azure Functions Java based on business logic that you already have in your Spring Boot Application will be a very easy game.

Read more