
Weak References in Java
1. Overview In this article, we’ll have a look at the concept of a weak reference – in the Java language. We’re going to explain […]
1. Overview In this article, we’ll have a look at the concept of a weak reference – in the Java language. We’re going to explain […]
1. Overview Many software developers, during their professional careers, face an opportunity to develop multilingual systems or applications. These’re usually destined for end-users from different […]
1. Overview In this tutorial, we’re going to look into the Java Clock class from the java.time package. We’ll explain what the Clock class is and how we can use it. 2. The Clock Class […]
1. Introduction This article is about Java’s dynamic proxies – which is one of the primary proxy mechanisms available to us in the language. Simply put, proxies […]
1. Overview In this short article, we’ll take a quick look at how to invoke methods at runtime using the Java Reflection API. 2. Getting Ready […]
1. Introduction Serialization is the conversion of the state of an object into a byte stream; deserialization does the opposite. Stated differently, serialization is the […]
1. Overview The regular expressions API in Java, java.util.regex is widely used for pattern matching. To discover more, you can follow this article. In this article, we will […]
1. Overview The new Time API introduced in Java 8 made it possible to process date and time without using external libraries. In this short […]
1. Overview Annotations, a form of metadata which you can add to Java code. These annotations can be processed at compile time and embedded to class files […]
1. Overview Sometimes we need to know the name of the current Java method being executed. This quick article presents a couple of simple ways […]
1. Overview In this article, we will be exploring networking communication with Java, over the User Datagram Protocol (UDP). UDP is a communication protocol that transmits […]
1. Overview In this quick article, we’re going to do some simple conversions between the Hex and ASCII formats. In a typical use case, the […]
1. Overview In this article, we’ll focus on network interfaces and how to access them programmatically in Java. Simply put, a network interface is the point […]
1. Overview In this tutorial, we’ll go through the basics of security on the Java platform. We’ll also focus on what’s available to us for […]
1. Introduction Objects have relationships between them, both in real life and in programming. Sometimes it’s difficult to understand or implement these relationships. In this […]
1. Overview In this article, we’ll explore the introductory parts of Java NIO’s Selector component. A selector provides a mechanism for monitoring one or more NIO channels […]
1. Overview In this article, we are going to explore the WatchService interface of Java NIO.2 filesystem APIs. This is one of the lesser known features of […]
1. Overview In this article, we will learn how to use the new I/O (NIO2) Path API in Java. The Path APIs in NIO2 constitute one of the major […]
1. Overview Handling input and output are common tasks for Java programmers. In this tutorial, we’ll look at the original java.io (IO) libraries and the newer java.nio (NIO) libraries and how […]
1. Overview In this article, we’re going to focus on the new I/O APIs in the Java Platform – NIO2 – to do basic file manipulation. […]