When you need to test an application that consumes a web API, you basically have two options: Use Testcontainers to start a container that will run the web API which your application will consume. Mock a Web Server to emulate the web API which your… Read More »How to Mock a Web Server Using WireMock in Your Java Applications
A few days ago I did a post on LinkedIn talking about the Optional class. One comment was an excellent question: Could the use of Optional lead to performance degradation?
The answer is: Yes, it can. But should you worry?
When you have more people using your Java APIs, your projects grow and naturally you become a better engineer. You become more likely to increase your incomes and join great new projects. It also enables people to get their jobs done faster. So it’s a win-win situation.
In software development, writing test code is just as important as writing the application code itself. An application without tests will quickly turn into a nightmare for the maintainers because every change needed, no matter how harmless it may seem, something may stop working as… Read More »Creating Testable Applications with MicroProfile and CDI
A Little Bit of History “Write once, run anywhere” was the slogan created by Sun Microsystems in 1995, when the first Java version came out. One thing that allowed this was the creation of specifications for the Java Language and the Java Virtual Machine. With… Read More »Why Should You Consider Using MicroProfile In Your Microservices?
Checker Framework is a tool that helps us to detect and prevent errors in our applications.It has several checkers that verify our code in search of bugs, and we can also write our compiler plug-ins.One of these checkers is the Nullness Checker, which provides us… Read More »Get Rid of java.lang.NullPointerException with Checker Framework