Posts tagged Java (5)

Transitioning to Java - Payara Podcast Episode 3

In this podcast episode, we’d like to invite you to listen to the conversation we recently had with Ken Fogel. Ken is a well known expert in Java and Jakarta EE industry, he’s been working with Java for over 20 years.  Unsurprisingly, he is also a Java Champion, and a Java Community Process Executive Committee member. He is an active conference organizer, very prominent and active in the Java, Java EE and Jakarta EE community.

So there’s no wonder why we had to invite him to our podcast!

Head over toSpotifyorYouTube to listen to the conversation and subscribe for more episodes! 

Virtual Payara Conference: Full Schedule

Our pioneering virtual business and technology conference will take place on December 14th.  Gain unique insight into Jakarta EE from the best in the business!

We have designed the programme to cater to all levels of Jakarta EE knowledge - learn as a leader! The day-long program has a focus on educating Java professionals and business leaders about the power and potential of Jakarta EE. 

The conference is totally virtual, so you can join from anywhere in the world. You can also pick and choose which sessions to join, and all those who registered will be able to access recordings to watch at their leisure.

Read on for the full schedule...

A Leap Towards Expressive Coding With Record Patterns In Java 21

Java's journey towards fostering more expressive and efficient code has taken a remarkable leap with the advent of Record Patterns, encapsulated in JEP 440. This feature, previewed in both Java 19 and Java 20, is now a part of the language from Java 21, marking a significant stride towards reducing the verbosity traditionally associated with Java language. In this post, we will delve into the essence of Record Patterns, take a look at its benefits, and explore how it fits in with the existing pattern matching capabilities of Java.

Ease into Java 21: Uncovering Instance Main Methods with JEP 445

In the world of programming, stepping stones are crucial for novices to transition into proficient developers. This journey often begins with understanding the syntax and semantics of a given programming language. Java, being one of the popular programming languages, has always aimed to be an effective medium for both novices and experienced developers. The recent release of Java 21 introduced a core feature, known as Unnamed Classes and Instance Main Methods through JEP 445, aimed at simplifying the learning curve for new programmers, making it easier for them to write their first program without much fanfare and verbosity.

A Quick Intro To Java 21 Foreign Function and Memory (FFM) API

Java 21 introduces the Foreign Function and Memory (FFM) API, which allows Java programs to interoperate with code and data outside the Java runtime. Java operates within a managed environment known as the Java Virtual Machine (JVM). The JVM serves as an abstraction layer between the executing Java code and the underlying hardware and OS. One of the core design principles behind the JVM is to provide a secure and isolated environment for Java applications to run. This isolation is beneficial for several reasons, including security and stability; it mitigates risks such as unauthorized access to system resources or memory corruption, which could lead to vulnerabilities like buffer overflows.

How to store JSON in MySQL Database

Developers use MySQL databases in every corner of the world to create cloud-based applications. As they continually look for tools that offer better scalability, performance, and flexibility, many are pairing MySQL with the JSON data format.

Combined, these provide a wealth of benefits for developers. We’re going to briefly examine the ins and outs of MySQL and JSON to get you up to speed, then take a look at some of the things you can achieve using them together.

Java 21 and the Upcoming Jakarta EE 11: A New Era of Cloud Native Java

With Java 21 released today and Jakarta EE 11 slated for release in Q1 of 2024, the landscape for Java development is evolving rapidly, particularly in the cloud-native space. Although these two are not being developed together, they are intrinsically linked: Jakarta EE 11 will have Java 21 as its base Java SE version. This blog post will explore what these two significant releases bring to the table individually and how they can collectively enhance cloud native Java development.

Easily Manage Different Java Versions on Your Machine with SDKMan!

So, you're a Java developer, or maybe you're aspiring to be one. Either way, you've probably faced the challenge of managing multiple versions of Java on your machine. One project requires Java 8, but another needs Java 11, yet another requires Java 17. The open-source library you're keen on contributing to needs yet another version. What do you do? You start juggling environment variables, and before you know it, your system is a tangled mess of configurations. Not fun, right?

And let's not even get started on the difference between JRE and JDK. It's easy for beginners to get confused about the distinction between the two. The JRE (Java Runtime Environment) is sufficient if you just want to run Java applications, but if you're going to be developing them, you'll need the JDK (Java Development Kit). The JDK includes everything the JRE has, plus additional tools and utilities for developers like the Java compiler, or javac.

Tired of all this complexity? Let me introduce you to SDKMan!, a version manager that streamlines the process, making it a breeze to manage multiple Java versions on your machine. Not just Java, SDKMan! can be used to manage a lot more kits and tools such as Maven. In this blog post however, we see how to use SDKMan! to effortlessly manage different versions of Java on the same machine.