• Learning Java as a First Language

    I started programming in Java way back in 1999. I had just started a job as the director of web development at a small startup called

    Rather than focusing on my experience, I thought it’d be fun to write a post that provides people with no programming experience how to become Java developers.

    Hopefully, this short and sweet list of learning resources inspires you to try Java. It’s a great language, that can do many things. Write once, run anywhere!

    Matt Raible
  • What’s New in JavaFX 15?

    A couple of weeks ago, JavaFX version 15 was released.

    These are some of the highlights we’ve selected for you to understand its scope.

    – JavaFX now has 3D support for the newer Intel graphics drivers on Linux,

    – Support for e-paper displays on i.MX6 devices was added,

    – FX scripting support was enhanced.

    Bruno Lowagie
  • Running Single-File Java Source Code Without Compiling (Part 1)

    Instead of starting up the JVM, loading a class and executing the code, you can run single Java source files.

    This feature is particularly useful for someone new to the language who wants to try out simple programs, you get a great beginner’s learning toolset.

    Professionals can also make use of these tools to explore new language changes or to try out an unknown API.

    Mohamed Taman
  • Performance: Stream.concat vs. New ArrayList

    During a code review, I suggested some code improvement related to JDK8+ streams.

    Here is a discussion on readability and performance!

    Karl Heinz Marbaise
  • Monitoring REST APIs with Custom Java Flight Recorder Events

    The Java Flight Recorder (JFR) is an invaluable tool for gaining deep insights into the performance characteristics of Java applications.

    In this blog post, we’re going to explore how custom, application-specific JFR events can be used to monitor a REST API, allowing to track request counts, identify long-running requests, and more.

    Gunnar Morling
  • A JavaFX App on ZuluFX in 60 Seconds

    Learn how to use a popular distribution from Azul to build a JavaFX HelloWorld Application in 60 seconds!

    I’m not sure if you’ll taken more than 60 seconds to complete the steps, but assuming your environment is setup and the JDK 11+ and JavaFX is installed you should be able to cut and paste the code in seconds.

    Carl Dea
  • A Closer Look at JFR Streaming

    Since JDK 14, there is a new kid on the block – Java Flight Recorder streaming, which enables developers to subscribe to JFR data.

    It is a feature allowing a developer to subscribe to select JFR data and to decide what to do with that data in the host process. JFR events can also be consumed from a separate process by pointing to the file repo of a separate JVM process – the mechanism is the same.

    Marcus Hirt
  • From Azure Active Directory via OpenID Connect to Open Liberty and Java

    Long gone are the days when you had to create your own user account management, authentication, and authorization for your web delivered software. Instead, contemporary applications leverage these functions (Identity and Access Management, IAM for short) from an external provider.

    Let’s take a look at an example on how to configure the Liberty social login feature as an OpenID Connect client to secure Java applications with Azure Active Directory.

    Reza Rahman
  • Fantastic JVMs and Where to Find Them

    OpenJDK, being open sourced, has builds provided by plenty of vendors. Here is a non-exhaustive list of some vendors shipping supported versions of OpenJDK (in alphabetical order, distribution(s) in parenthesis):

    – AdoptOpenJDK
    – Alibaba (Dragonwell)
    – Amazon (Corretto)
    – Azul (Zulu, Zing)
    – BellSoft (Liberica)
    – Red Hat (Red Hat Builds of OpenJDK)
    – Oracle (Oracle JDK, Oracle OpenJDK)
    – SAP (SapMachine)

    Marcus Hirt
  • Highlights of Changes to the Core Java Platform

    February 12th, 1996. This is a significant date for me personally since it was the day I started work at Sun Microsystems as a Solaris Systems Engineer. It was also two weeks and six days after the release of the Java Development Kit (JDK 1.0).

    Of course, the origins of Java go further back than this; James Gosling and others started work on a new programming language in 1991, and it was the May 23rd 1995 when Java was officially announced to the world.

    As a language, Java has evolved over the last 25 years in a way that has, with few exceptions, provided excellent backwards compatibility.

    Simon Ritter
  • How does Java handle different Images and ColorSpaces – Part 3

    BufferedImage is one of the most useful Java abstractions. It hides all the complexity of different types of images whilst allowing access to the underlying data. Under the hood, a BufferedImage can be many types of image.

    Java includes support to load and save images in various formats using ImageIO, and other libraries such as Apache Imaging and our JDeli library also offer this feature.

    Next time we will talk more about ImageIO and other Image libraries.

    Mark Stephens

Subscribe to foojay updates:
Copied to the clipboard