
Customizing each request with Spring Cloud Feign
Recently I wrote an article how to explicitly pass headers via Feign clients. Now I’ll show you how to customize each request sent via Feign clients, like adding headers to Continue reading
Being a good software engineer is 3% talent, 97% not being distracted by the internet.
Recently I wrote an article how to explicitly pass headers via Feign clients. Now I’ll show you how to customize each request sent via Feign clients, like adding headers to Continue reading
Feign is a great way to communicate between services. Spring Cloud has it’s own way of defining Feign clients, it’s done with Spring MVC annotations. Usually it’s a common requirement Continue reading
For one of my presentations, I wanted to have some numbers regarding the efficiency of projections. If you don’t know what projections are, read this previously written article. I basically Continue reading
Have you ever heard about datasource proxies? No worries, it’s not complicated at all. Let’s say you want to access the database from an application. First you have to configure Continue reading
Anyone who is familiar with Spring and JPA knows about the magical @Transactional annotation which helps us to focus on the business logic rather than programming transactions around. This approach is so Continue reading
If you care about your data-access layer to make it as fast as possible, you should consider using projections for reading data. Check a simple example together. We have cities Continue reading
Are you a Hibernate user? Have you ever got a LazyInitializationException? Let’s clarify this topic a bit. You can find plenty of solutions for the exception, however they lack explanation and Continue reading
There are a lot of great articles out there about OAuth 2.0, Spring Security, REST especially when you are about to have both the Resource and the Authorization server in Continue reading
We often hear the phrase Technical Debt and usually the first thing we feel that it is a bad thing, something has been done in a wrong way. What is Continue reading
In a lot of interviews, I came across the question: “Why package-private visibility is useful?”. The usual answer from the candidates is “you can unit test that method individually because Continue reading