Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

ReactJS Table Example

In this article we will build a ReactJS Table Example. ReactJS has shot to fame and has become the front end library of choice. We look at how we can build a table with a set of components and keep it as flexible and configurable as possible. We will add features like styling and sorting to our table component and ...

Read More »

Is your JVM leaking file descriptors – like mine?

Foreword: The two issues described here, were discovered and fixed more than a year ago. This article only serves as historical proof, and a beginners’ guide on tackling file descriptor leaks in Java. In Ultra ESB we use an in-memory RAM disk file cache for fast and garbage-free payload handling. Some time back, we faced an issue on our shared ...

Read More »

[On-demand Webinar] Bad Code Kills: 6 Essential Quality Gates You Need in Your CI/CD

Enterprises today are all about increasing software delivery velocity. But with shorter release cycles, code quality is usually sacrificed and we all know bad code can be an application killer! As the first line of defense for software quality and customer experience, QA teams are expected to prevent code defects from escaping into production, yet they need to also manage ...

Read More »

Stop Writing Comments

This should go without saying, but it doesn’t. We should treat a comment as though it’s a danger signal. A comment is either an admission of failure, or a warning about the unexpected. In Talking Around Your Docs, I looked at how it used to be fashionable to explain every line of code. I’ve also warned about Herp Derp and ...

Read More »

Spring MVC Binding w/o Setters


You can bind form parameters to a domain model object even if the domain model object does not have setters. Just add a @ControllerAdvice class with an @InitBinder method that configures your application to field binding via the initDirectFieldAccess() method package boottests.controllers; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.*; @ControllerAdvice class BindingControllerAdvice { @InitBinder void initBinder(WebDataBinder binder) { binder.initDirectFieldAccess(); } } Here’s how ...

Read More »

The Structural Bug

A team member was having a bit of trouble with the following code: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 void extractData(String targetUri) {     Path tempFile = createTempFilePath();     extractDataToPathAndUpload(tempFile, targetUri);     cleanUp(tempFile); }   void extractDataToPathAndUpload(Path tempFile, String targetUri) {    try (FileOutputStream stream = createOutput(tempFile)) {       // extract from db to file stream ...

Read More »

Progressive delivery

Coupling is one of the important pattern for building software and it is recommended to build loosely coupled systems.  Lets talk about loose coupling pattern in software deployment context. Industry has seen evolution in Devops space in form of continuous integration,continuous delivery, automated testing etc but world is moving fast and we need CI/CD++.  Next step after CI/CD is  Progressive delivery. ...

Read More »

Performance Testing with JMeter


When developing complex, high-availability software projects, performance is of key importance. That is especially true in these modern times where anything other than lightning fast accessibility of real-time data is punished. This is not always an easy feat when talking about the huge amounts of data that are sometimes required. In this post we’ll use an online booking engine as ...

Read More »