Learn Java

Learn Java | News, how-tos, features, reviews, and videos

JavaWorld > Persistence [series] > data blocks / data center / database / server traffic routing

What is JPA? Introduction to the Java Persistence API

Get to know the Java ORM standard for storing, accessing, and managing Java objects in a relational database

data conversion

Java XML and JSON: Document processing for Java SE, Part 2: JSON-B

Use the Java API for JSON Binding (JSON-B) to serialize and deserialize Java objects, arrays, and collections in Java SE

Javaworld > JVM / JDK / JRE explainer series

JVM, JDK, JRE: What's the difference?

Three indispensable Java platform components, and how they work together in your Java applications

transformation / conversion / data cubes shift from one color to another

Java XML and JSON: Document processing for Java SE, Part 1: SAXON and Jackson

Learn how to transform and convert XML and JSON documents with SAXON and Jackson

JavaWorld > Android Studio for Beginners [movile java package]

Tutorial series: Android Studio for beginners

A complete beginner's guide to Android Studio, from installing Android Studio to coding and debugging your first Android app

white blocks stacked containers misaligned alignment fragile falling apart flickr

Write a purely functional Bubble Sort application

Improve a classic, object-oriented sort application using Java's functional programming capabilities

apples oranges slices mixture puzzle balance opposites fruit  savatore gersace flickr

Functional programming for Java developers, Part 2

Rewrite object-oriented code using functional techniques. Get started with lambdas, method references, functional interfaces, and the Streams API in Java

Lucky 8-ball

Functional programming for Java developers, Part 1

Optimize your Java code with these five functional programming techniques

Javaworld > JVM / JDK / JRE explainer series > Java Runtime Environment > monitoring + configuration

What is the JRE? Introduction to the Java Runtime Environment

The JRE creates the JVM and ensures dependencies are available to your Java programs. It also plays a vital role in devops and cloud configurations

Exploratory Art/Tech Residency. Building a reactive physical structure for an AV live performance.

Mastering Spring framework 5, Part 2: Spring WebFlux

Build reactive web applications using Spring WebFlux annotations and functional programming techniques

stairs

Java 101: Mastering Java exceptions, Part 2

Take your Java exceptions to the next level with stack traces, exception chaining, try-with-resources, final re-throw, and more

Javaworld > JVM / JDK / JRE explainer series > Java Development Kit > write your code

What is the JDK? Introduction to the Java Development Kit

The JDK is a key platform component for building Java applications. At its heart is the Java compiler

metal spring

Mastering Spring framework 5, Part 1: Spring MVC

If you like the Spring framework, you'll want to explore Spring MVC 5 for Java web development. This tutorial shows you how to fast-track Spring-based development with Spring MVC 5, Spring Boot, and Spring Initializr.

cracked exterior texture of a lodge

Java 101: Mastering Java exceptions, Part 1

Everything you need to know about throwing, trying, catching, and cleaning up after Java exceptions

spiral staircase

Java 101: Datastructures and algorithms in Java, Part 5

In addition to singly linked lists, Java offers several other types of list that you can use to search and sort stored data in your Java programs.

Javaworld > JVM / JDK / JRE explainer series > Java Virtual Machine > debug + optimize

What is the JVM? Introducing the Java Virtual Machine

The Java Virtual Machine manages system memory and provides a portable execution environment for Java-based applications. Developers reap the rewards in performance, stability, and predictable runtimes.

intel coffee lake figurative image java

Beyond Java: Programming languages on the JVM

By running on the JVM, these languages run anywhere Java runs, work seamlessly with Java, and open up possibilities Java doesn’t

jw datastructures 4

Java 101: Datastructures and algorithms in Java, Part 4

Learn how to search and sort linked lists in Java! Examples in this tutorial demonstrate how to create a singly linked list, insert and delete nodes in a singly linked list, and more. Find out which algorithms are most used to sort...

Java Q&A post 36: Language oddities

Java language oddities

The Java language includes various behaviors that may puzzle newcomers to the language. This post examines three such behaviors involving arrays, bytes and shorts, and private fields and methods.

jw datastructures3

Java 101: Datastructures and algorithms in Java, Part 3

Multidimensional arrays are useful for complex computing scenarios, and ragged arrays can help conserve memory for big data applications. Learn how to create multidimensional arrays and ragged arrays and use them in your Java programs....

Load More