If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this associated tip, I’ll walk you through one of the pitfalls of nesting classe…
If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this Java tip, you’ll learn three common ways to use nesting techniques with Jav…
This article is a quick guide for Ubuntu Linux users installing Java 11, the current long-term support (LTS) Java version. I’ll briefly make the case for migrating your code base to Java 11, then guide you through the steps to install Oracle JDK 11 …
In Java 101: Inheritance in Java, Part 1, you learned how to leverage inheritance for code reuse, by establishing is-a relationships between classes. Composition is a closely related programming technique that is used to establish has-a relationships i…
A good data validation strategy is an important part of every application development project. Being able to consolidate and generalize validation using a proven framework can significantly improve the reliability of your software, especially over t…
JavaFX 2.0.2 and successor SDKs let you deploy JavaFX applications in multiple environments including as a standalone app, via Java Web Start, or embedded in a web page. Jeff Friesen follows up his recent introduction to JavaFX 2.0 with this short …
Java has become increasingly popular as a server-side programming language for database-powered Web applications. Those applications’ business logic-handling methods must work with data from backend databases. Therefore, you need a set of well-desi…