Whats_New_Java10

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_Java

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_Java_Stack_Trace

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 …

Streams_in_Java8

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

Eugen Paraschiv Developer Tips, Tricks & Resources

Overview The addition of the Stream is one of the major new functionality in 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, …

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 …

Java Application Performance

How to Improve the Performance of a Java Application

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

1. Introduction In this article, we’ll discuss a number of 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 …

Tomcat Monitoring

A Step By Step Guide to Tomcat Performance Monitoring

Eugen Paraschiv Developer Tips, Tricks & Resources

Overview Monitoring the metrics and runtime characteristics of an application server is essential to ensure the adequate functioning of the applications running on that server, as well as to prevent or resolve potential issues in a timely manner. As far as Java applications go, one of the most commonly used servers is Apache Tomcat, which will be the focus of …

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 …

Java 8 Optional

Understanding, Accepting and Leveraging Optional in Java

Eugen Paraschiv Developer Tips, Tricks & Resources

Overview One of the most interesting features that Java 8 introduces to the language is the new Optional class. The main issue this class is intended to tackle is the infamous NullPointerException that every Java programmer knows only too well. Essentially, this is a wrapper class that contains an optional value, meaning it can either contain an object or it can …