A Step By Step Guide to Tomcat Performance Monitoring

Eugen Paraschiv Developer Tips, Tricks & Resources

Application server monitoring metrics and runtime characteristics are essential for the applications running on each server. Additionally, monitoring prevents or resolves potential issues in a timely manner. As far as Java applications go, Apache Tomcat is one of the most commonly used servers. Tomcat performance monitoring can be done with JMX beans or a monitoring tool such as MoSKito or JavaMelody. …

Java Streams in Java 8

A Guide to Java Streams in Java 8: In-Depth Tutorial With Examples

Eugen Paraschiv Developer Tips, Tricks & Resources

Overview The addition of the Stream was one of the major features added to Java 8. This in-depth tutorial is an introduction to the many functionalities supported by streams, with a focus on simple, practical examples. To understand this material, you need to have a basic, working knowledge of Java 8 (lambda expressions, Optional, method references). Introduction First of all, …

SLF4J: 10 Reasons Why You Should Be Using It

Eugen Paraschiv Developer Tips, Tricks & Resources

What Is SLF4J and What are the Benefits of Using It? One of the most important aspects of developing an efficient system is to have clean, helpful logs that will help you understand what errors are being triggered, and what information is being processed. When you are first creating an application, you might not know what logging framework will be …


What’s New in Java 10

Eugen Paraschiv Developer Tips, Tricks & Resources

Java 10 overview March 2018 saw the latest semi-annual release of Java: Java 10. In this article, we’ll examine the big changes introduced in this version, as well as talk about some of the smaller improvements that will make life easier for developers and ops alike. Java 10: Big changes The two big stories in Java 10 are: the new …

Guide Docker Java

A Start to Finish Guide to Docker with Java

Eugen Paraschiv Developer Tips, Tricks & Resources

Intro to managing and running a containerized Java Spring Boot application Docker is a platform for packaging, deploying, and running applications in containers. It can run containers on any system that supports the platform: a developer’s laptop, systems on “on-prem,” or in the cloud without modification. Images, the packages Docker uses for applications, are truly cross-platform. Java microservices are a …


Optional Parameters in Java: Common Strategies and Approaches

Eugen Paraschiv Developer Tips, Tricks & Resources

Introduction to optional parameters in Java  Unlike some languages such as Kotlin and Python, Java doesn’t provide built-in support for optional parameter values. Callers of a method must supply all of the variables defined in the method declaration. In this article, we’ll explore some strategies for dealing with optional parameters in Java. We’ll look at the strengths and weaknesses of …


Understanding and Leveraging the Java Stack Trace

Eugen Paraschiv Developer Tips, Tricks & Resources

Stack traces are probably one of the most common things you’re regularly running into while working as a Java developer. When unhandled exceptions are thrown, stack traces are simply printed to the console by default. Nevertheless, it’s easy to only have a surface-level understanding of what these are and how to use them. This article will shed light on the …

Understanding_Java_Beans - Good Graphic Guy on Computer Coding

A Detailed Guide to Enterprise Java Beans w/Code Examples

Eugen Paraschiv Developer Tips, Tricks & Resources

A Brief History of EJB By 1996, Java had already become popular among developer for its friendly APIs and automated Garbage Collection and was starting to be widely used in back-end systems. One problem, however, was that most of these systems needed the same set of standard capabilities – such as persistence, transaction integrity, and concurrency control – which the …

Learn to Fully Leverage JavaServer Faces

Eugen Paraschiv Developer Tips, Tricks & Resources

JavaServer Faces as a Web Framework The focus of this article is to introduce and explain the JavaServer Faces framework. We’re going to start with a high-level look and them move on to the core details of JSF, on a practical example. JavaServer Faces is not just a web component framework. It also provides the whole programming model of interaction …

The Java Performance Testing Guide

The Java Performance Testing Guide With Code

Eugen Paraschiv Developer Tips, Tricks & Resources, Insights for Dev Managers

1. Introduction In this article, we’ll discuss Java performance testing approaches that can be helpful for improving the performance of a Java application. We’ll start with how to define measurable performance goals and then look at different tools to measure, monitor application performance and identify bottlenecks. We’ll also look at some of the common Java code level optimizations as well …

A Practical Guide to Java Remote Debugging

Eugen Paraschiv Developer Tips, Tricks & Resources

Introduction to Debugging Troubleshooting a problem on a remote server, especially in production, is not an easy task. Sometimes it involves debugging the application code directly on the server. But the production servers are usually run in a strict environment, where not all convenient developer tools are available. In this article, you’ll discover how to configure a running web server …

Hit the Ground Running with the Spring Security Java Configuration

Eugen Paraschiv Developer Tips, Tricks & Resources

Introduction to Spring Security In this article, you’ll learn how to quickly and easily configure and set up a Spring Security based web application using the Java configuration. Security is, not surprisingly, an evergrowing concern and certainly a core focus of any developer working on applications today. Project Setup The fastest way to get on track with Spring Security is …

Features of Spring Web MVC

How Spring Web MVC Really Works

Eugen Paraschiv Developer Tips, Tricks & Resources

Introduction This is an in-depth look at the powerful features and internal workings of Spring Web MVC, which is a part of the Spring Framework. The source code for this article is available over on GitHub. Project Setup Throughout this article, we’ll use the latest and greatest Spring Framework 5. We’re focusing here on the Spring’s classic web stack, which …

Java application monitoring metrics

How To Track and Monitor Critical Java Application Metrics

Eugen Paraschiv Developer Tips, Tricks & Resources, Stackify Product & Company Updates

Overview of Java application metrics Monitoring a running application is crucial for visibility and making sure the system is functioning as expected, as well as to identify any potential issues, tweak and optimize the running conditions, and resolve any errors that may occur. This is where Application Performance Monitoring (APM) tools can make your life a whole lot easier by …

Java Virtual Machine (JVM)

Java Virtual Machine: Critical Metrics You Need to Track

Eugen Paraschiv Developer Tips, Tricks & Resources, Popular

Overview of JVM Metrics In this article, we’ll cover how you can monitor an application that runs on the Java Virtual Machine by going over some of the critical metrics you need to track. And, as a monitoring tool, we’ll use Stackify Retrace, a full APM solution. The application we’ll monitor to exemplify these metrics is a real-world Java web …

monitor JMX data exposed by third-party tools and write and expose your own.

Deep Dive into Java Management Extensions (JMX)

Eugen Paraschiv Developer Tips, Tricks & Resources

1. Introduction In this article, we’ll have a look at a core Java technology – Java Management Extension (JMX). We’ll start with a quick intro to exactly what JMX is, and we’ll quickly move to some interesting things you can do with the technology. 2. What Is Java Management Extension Technology Introduced all the way back in Java 2, JMX …

Java Glossary and the Core Concepts in the Java Language

Eugen Paraschiv Developer Tips, Tricks & Resources

Java Language and Terminology In this article, we’ll explore the foundations and core concepts of the Java language and terminology. The write-up is divided into sections, ordered alphabetically to enable fast and easy search for these definitions. A abstract – a keyword used in a class or method definition, which specifies that the method/class is not going to be instantiated, …

Finally, An Official Shell in Java 9 – Introducing JShell

Eugen Paraschiv Developer Tips, Tricks & Resources

Introduction to JShell The shell or the REPL is a well-known tool in many programming languages. Typically, this is more common in scripting languages such as Python or Node, but more recently it’s been adopted by JVM languages like Clojure and Groovy as well. The upcoming Java 9 release finally brings this shell functionality to the Java language as well, in the form …

Spring 5 Reactive Programming

Doing Reactive Programming with Spring 5

Eugen Paraschiv Developer Tips, Tricks & Resources

The upcoming Spring 5 Framework has a strong focus on Reactive Programming, allowing us to write both servers and clients using this paradigm. The Spring 5 implementation uses the popular Project Reactor as a base. This article will be an introduction to writing both Reactive Clients and Servers using the new tools available in version 5 of the framework. What Is …