en
photo
Storing untyped objects with Spring data and MySQL Json Data Type

Sometimes we face a requirement where we have to save an unstructured data into our database, in this case we face two issues. The first one .................

en
photo
Encryption in plain Java

In this article we are going to see how encrypt a string in plain java without using any framework or dependency .................

en
photo
Custom annotations with Spring

In this post we are going to see the difference between @Repository, @Service, @Configuration, and @Controller annotations and how to make a custom one ...

en
photo
REST API Versioning using Spring, Kubernetes and Ambassador

In this post, we are building a versioned REST API, using Spring to create the api, Kubernetes as our deployment infrastructure ...

en
photo
Centralized logging using aspect oriented programming and spring

In this article, we are going to examine how we can use aspect programming to centralize logs ...

en
photo
Implement an entity Callbacks with SpringBoot and MongoDB

Some times we need to carry out certain actions before sending a record to the database, as we know for sql databases Spring data provides some life-cycle callback methods like @PostPersist..

en
photo
Automate docker containers with testcontainer library

In this article, we will see how to start a postgres container with some initialized data, when we launch an integration test.

en
photo
Docker, SpringBoot & Buildpacks

In this post I am going to talk about layers and build stages to improve performance and caching using docker files and buildpacks.

en
photo
Implement an entity listener in our SpringBoot application

Some times we need to carry out certain actions before saving a record into the database. In this post, we are going to see how to...

en
photo
How to make a unit test to a @Controller class

In this article, we are going to see how to make a unit test to a @Controller annotated class. This means we are going to isolate it from the spring context.

en
photo
How to get the current authenticated user with spring security

In this post we are going to see, how to get the current authenticated user, in our spring project, using...