Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Pub/Sub local emulator

Pub/Sub is a nice tool provided by GCP.  It is really handy and can help you with the messaging challenges you application might face. Actually if you work with GCP it is the managed messaging solution that you can use. As expected working with the actual Pub/Sub solution comes with some quota, so for development it is essential to use ...

Read More »

Think Twice Before Using Reflection

java-interview-questions-answers

Introduction Sometimes, as a developer, you may bump into a situation when it’s not possible to instantiate an object using the new operator because its class name is stored somewhere in configuration XML or you need to invoke a method which name is specified as an annotation property. In such cases, you always have an answer: “Use reflection!”. In the ...

Read More »

Fetching data with ORM is easy! Is it?

java-interview-questions-answers

Introduction Almost any system operates with external data stores in some way. In most of the cases, it is a relational database and very often data fetching is delegated to some ORM implementation. ORM covers a lot of routine and brings along a few new abstractions in return. Martin Fowler wrote an interesting article about ORM and one of the ...

Read More »

Microservices for Java Developers: Distributed Tracing

1. Introduction This part of the tutorial is going to conclude the observability discussions by dissecting its last pillar, distributed tracing. Distributed tracing, also called distributed request tracing, is a method used to profile and monitor applications, especially those built using a microservices architecture. Distributed tracing helps pinpoint where failures occur and what causes poor performance. – https://opentracing.io/docs/overview/what-is-tracing/ In distributed ...

Read More »

Can/Should I use parallel streams in a transaction context?

Introduction To make a long story short, you should not use transactions within a parallel stream. This is because each thread in the parallel stream has its own name thus it does participate in the transaction. The Streams API is designed to work correctly under certain guidelines. In practice, to benefit from parallelism, each operation is not allowed to change ...

Read More »

Strategy Pattern Revisited With Spring

spring-interview-questions-answers

This blog post wants to show another approach how to implement the Strategy Pattern with dependency injection. As DI framework, I choose Spring framework Firstly, let’s have a look how the Strategy Pattern is implemented in the classic way.As starting point, we have a HeroController that should add a hero in HeroRepository depends on which repository was chosen by the ...

Read More »

Selenium Testing For Effective Test Automation

While there is a substantial increment in the mobile apps market share, web apps are still prevalent with a significant user base. Enterprises are focusing on the quality at speed when it comes to web apps, before deployment. This is where testing has an important role to play. UI testing is still mostly a manual process unlike some functional testing ...

Read More »

How to become a better Software Developer

This blog post contains my personal experience and opinions on how to become a better developer. Let’s get it straight, a software developer is not the same as a programmer. Roughly speaking, a programmer can follow instructions and specifications and turn it into code. A software developer can code as well, but their main job is finding ways to solve ...

Read More »