Tutorials

Java 101: Datastructures and algorithms, Part 2

Java 101: Datastructures and algorithms in Java, Part 2

Get started with one-dimensional arrays and array variables, then try out five algorithms for searching and sorting arrays in your Java programs

jw apidrivendev home

Programming with Java APIs, Part 1: OpenAPI and Swagger

Get started with API-driven development for cloud and microservices architectures

Web services in Java SE, Part 4: SOAP with Attachments API for Java

Learn about SAAJ and other advanced Java SE Web service features

Web services in Java SE, Part 3: Creating RESTful Web services

Learn how to use Java SE's JAX-WS API to create a RESTful-based library Web service

Web services in Java SE, Part 2: Creating SOAP web services

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

Datastructures and algorithms in Java

Java 101: Datastructures and algorithms in Java, Part 1

Programmers use datastructures to store and organize data, and algorithms to manipulate that data. Get the basics of these fundamental programming elements, and find out how they work together in your Java programs

jw javaqa webservicesp1jpg

Web services in Java SE, Part 1: Tools overview

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.

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 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

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

8-Ball

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 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

Load More