Tutorials

Web services in Java SE, Part 2

Learn how to use Java SE's JAX-WS API to create a SOAP-based units-conversion Web service.

Datastructures and algorithms in Java

jw javaqa webservicesp1jpg

Web services in Java SE, Part 1

This post launches a four-part series introducing you to Java SE 6's support for Web services. Later in the series we'll build SOAP-based and RESTful-based Web services and explore advanced Web services topics.

puzzlers

Java library evolution and other puzzlers

Exploring puzzling code to figure out why it doesn't do what seems obvious is one way to improve your programming skills. Puzzle yourself today!

reg ex2

Java 101: Regular expressions in Java, Part 2

Complete your introduction to the Regex API, then find out how regular expressions make quicker work of common tasks like code documentation and lexical analysis.

roses flowers bouquets market

Aggregating with Apache Spark

Get an overview of threadless, multithreaded, and distributed aggregation using the Streams API, Java threads, and MapReduce, then see for yourself what Spark's cluster computing engine brings to the equation

words nodes map usage

Java 101: Regular expressions in Java, Part 1

Pattern matching is an important technique used in text processing, and Regex is here to help. Find out how to use the Pattern class and constructs like quantifiers and boundary matchers to describe patterns in your Java programs.

Interfaces in Java

Java 101: Interfaces in Java

Extracting class interfaces into Java interfaces can increase the reusability of your code, but only if you know how to use their special properties.

Type dependency and variances in Java

Type dependency in Java, Part 1

Covariance and contravariance might seem esoteric, but you'll need these concepts more than ever as the Java language evolves. Get started with type dependency in array types, generic types, and the wildcard element.

android studio plugins and extensions

Android Studio for beginners, Part 4: Advanced tools and plugins

Use built-in tools and third-party plugins to profile, debug, and extend your Android applications in Android Studio

12221514614 6dcba1c70f o

Are checked exceptions good or bad?

While some programmers believe checked exceptions are a good language feature, others would disagree. In this post, Jeff introduces checked exceptions, then dives into the debate.

Read-only properties in JavaFX 8

Learn how to expose internal modifiable properties as external read-only properties in JavaFX 8

java8

Interface-based applications in Java 8

Java 8's support for static methods in interfaces made it possible to create interface-based applications. Learn how in this short blog post.

android beginners2

Android Studio for beginners, Part 2: Explore and code the app

Use Android Studio's project editor to write your first animated Android app

android beginners3

Android Studio for beginners, Part 3: Build and run the app

Build your app with Gradle, then run it on an Android device emulator or Kindle Fire tablet

android beginners1

Android Studio for beginners, Part 1: Installation and setup

If you're new to Android Studio, start here. Part 1 walks through installing Android Studio and launching your first Android project

A collection of marigolds.

Immutable empty collections and iterators

Find out why the java.util.Collections class includes static methods that return immutable empty collections and iterators.

When is a character not a character?

The values assigned to char variables don't always represent characters. Learn all about characters and their variables in this edition of Java Q&A.

Exploring JavaFX's Application class

JavaFX's Application class is an essential part of every JavaFX application. Learn about the various capabilities that Application makes available.

The six roles of the interface

Java's interface language feature often puzzles newcomers to this language. Jeff eliminates this mystery by presenting the six roles that interfaces play in the Java language.

Load More