VisualVM is one of those indispensable tools for Java (and JVM-based) developers. An oft-unsung hero, this post tells you what it is, how to set it up, and its benefits.
In Part 4 of this Java 9 series, we see that try-with-resources has been enhanced. Let's compare how Try With Resources worked back in Java 7 versus today.
No longer do you have to manage multiple Dockerfiles and use the Builder Pattern. Now, you can save time by creating a multi-stage build process for your Java apps.
Should you use standard profilers, lightweight options, or APM tools? The answer is all three. Each one has its strengths and weaknesses, detailed here.
Replicating your data has obvious benefits, but can be a bit tedious to setup. Take a look at how to easily set it up using PostgreSQL and Jelastic's cloud.
Groovy DSLs are easy to make, and in this example, we'll create one for the Structurizr documentation generator, showing off Groovy's Closure class along the way.
Drag and drop is a fairly popular approach for websites to improve their UX. However, it can be challenging to implement automation tests for drag and drop components.
SQL injections are some of the most common types of attacks. Read on to learn what vulnerable code looks like, and how to defend against these attacks.
Time to get to know your locks! Whether you need blocking or non-blocking locks or want to know more about how they work, this quick example will set you straight.
Dropwizard Metrics makes it easy to create a class, override check methods, and register them, enabling you to call all of your Java service's health checks.