-
Optional in Java: A Swiss Army Knife for Handling Nulls and Improving Code Quality
Optional is a Java class that provides a way to handle null values in a type-safe and efficient manner. It can help you avoid null pointer exceptions, simplify your code, and improve its readability and maintainability. This tutorial will cover the features and use cases of Optional in Java, with practical examples of how to use it for handling nulls
-
New Section Added to Foojay.io: Java Quick Start
Foojay.io aims to be the starting point for “all-things OpenJDK”. The idea struck me that this site needs complete beginner materials, too!
-
7 Reasons Why, After 26 Years, Java Still Makes Sense!
After many discussions with Java developers, combined with my personal experiences with the Java community and platform, here are the key reasons why Java developers love Java after all these years!
-
Controlling Electronics with JBang on the Raspberry Pi
JBang is a great way to create your first program to control electronic components connected to the Raspberry Pi’s GPIO pins.
-
Welcome to VS Code for Java
On Java, thanks to the investments communities and Microsoft have been constantly making, VS Code has been used by more and more Java developers.
-
A Simple Service with Spring Boot
I will demonstrate how to create a simple Web Service using Spring Boot. This framework makes it almost effortless to develop web services, so long as the appropriate dependencies are in place.
In this example, I will create a Web Service that will read the current temperature from a file and make it available to clients via a RESTful endpoint.