TDD is like working out

We all know that exercise is good for us, members of the species Homo Sapiens Sitonourasses. And yet most of us don’t do enough of it. The same is true for Test-Driven Development (TDD). But the similarity doesn’t end there. With regular exercise, you can grow your muscles. The way this works is not linear, however. It follows an upward ...

Read More »

Easy Fine-Grained Sorting with JDK 8

Java 8‘s introduction of streams and useful static/default methods on the Comparator interface make it easy to compare two objects based on individual fields’ values without need to implement a compare(T,T) method on the class whose objects are being compared. I’m going to use a simple Song class to help demonstrate this and its Song.java code listing is shown next. ...

Read More »

Monitoring and measuring reactive application with Dropwizard Metrics

java-interview-questions-answers

In the previous article we created a simple indexing code that hammers ElasticSearch with thousands of concurrent requests. The only way to monitor the performance of our system was an old-school logging statement: .window(Duration.ofSeconds(1)) .flatMap(Flux::count) .subscribe(winSize -> log.debug("Got {} responses in last second", winSize)); It’s fine, but on a production system, we’d rather have some centralized monitoring and charting solution for gathering ...

Read More »

The state of programming languages and frameworks

As a professional software delivery person, I like to keep on top of technology trends and “where the market might be going”. Over the last decade and a half, quite a few languages and frameworks have come and gone and very few have had any real staying power. In order to be marketable and knowledgable in things that “people want ...

Read More »

When a REST Resource should get its own Address?

java-interview-questions-answers

In a purist REST approach, all endpoints (except the starting endpoint) are opaque and their various details shouldn’t need to be published.  Even if this approach is being used, the points in this article are relevant as Server logic will have to determine when something requires a end point or not.  Introduction In a REST architecture an entity or a ...

Read More »

Free eBook: The Complete Guide to Automated Root Cause Analysis

A guide to getting started with Automated Root Cause analysis. We spend our nights here at OverOps dreaming of a fully-automated world. It might seem a bit weird, but can you imagine how much happier you and your team would be minus those sleepless nights and endless days sifting through log files trying to figure out what went wrong? Those ...

Read More »

The AppD Approach: Java 9 Support

java-interview-questions-answers

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! Read more about the challenges posed by the Java 9 modularization feature, and the stringent requirements AppDynamics met to remain leaders in this space. We are excited to announce full support for Java 9 as part of our Winter ...

Read More »

Docker for Java Developers: Test on Docker

1. Introduction If we think about the areas of software engineering where the impact of the Docker and container-based virtualization is most noticeable, testing and test automation is certainly one of those. As the software systems become more and more complex, so do the software stacks they are built upon, with many moving parts involved. In this section of the ...

Read More »