How-Tos

Responsive web design with Google Web Toolkit

Get started with using GWT-friendly CSS media queries and multi-device layout patterns to develop mobile-responsive web applications. Demonstrations are based on an open source code base that you can use as a foundation for your own...

Stability patterns applied in a RESTful architecture

Learn how stability patterns anticipate the hot-spots of distributed network behavior, then see five patterns applied to RESTful transactions in Jersey and RESTEasy.

ChoiceFormat: Numeric range formatting

Learn how to use ChoiceFormat and its patterns to customize the formatting of numeric ranges in your Java programs.

Google Go

Fast guide to Google Go programming

Get a visual overview of the architecture and features that make Google's Go language go, from basic concepts to methods, interfaces, and Go's lightweight concurrency model.

Autoboxing, Unboxing, and NoSuchMethodError

The Java NoSuchMethodError sometimes arises when pre-Java 5 classes are compiled with classes that include autoboxing and unboxing syntax. Find out why and learn how to work around it in this post.

Shipilёv on writing good benchmarks -- Java vs Scala

Writing good benchmarks begins and ends with the relentless drive to understand why your system is behaving as it does. Once you've got that down, optimization naturally follows.

Open source Java projects: Spring Batch

Spring Batch manages the batch processing scenarios that developers dread. In this tutorial, learn how to configure Spring Batch to read data in CSV format, process the data in any number of files, and write the results to a MySQL...

fifa 14 world cup

Do Twitter analysis the easy way with MongoDB

The Twitter-scape is alight with news from the World Cup -- and it turns out you don't need Hadoop to mine it. For simple data analytics, try MongoDB's aggregation framework instead.

Docker containers with Gradle in 4 steps

Do you need to create a Docker image from your Java web app? Are you using Gradle? Add a dose of Spring Boot and you'll be just four steps away from Docker Nirvana.

Connecting to Cassandra from Java

Learn how to connect to the Cassandra database and perform basic CRUD operations using CQL and the Cassandra Java Driver.

Cassandra logo

Hello Cassandra

Get a quick guide to setting up Cassandra, using keyspaces, and creating a column family, then some caveats regarding how the NoSQL datastore differs from a relational database.

Dockerfiles in a jiffy

Curious about Docker but you haven't tried it yet? Andrew Glover gets you going with quick instructions to create a Dockerfile that runs Amazon’s DynamoDB Local. Set it up once and your Dockerfile runs DynamoDB or any other service...

Jumping JavaScript! Hands-on with the Famo.us framework

Famo.us is due to hit open beta on May 19. Take a guided tour of this fast and flashy JavaScript framework that seeks to reinvent the Web.

Open source Java projects: Spring Integration

Use Spring Integration to develop a robust message-passing architecture that integrates and coordinates enterprise components across an ActiveMQ message bus via JMS.

Java Tip: Hibernate validation in a standalone implementation

Get started with declarative annotations, composite validation rules, and selective validation in Hibernate Validator 5.0.3.

Java 8's functional fomentation

Combining the new Stream API with lambda expressions brings a whole new level of functional-foo to Java collections.

JavaScript words

Code in JavaScript the smart, modular way

Real developers need to do more than slap together some JavaScript on top of a Java back-end. Here's a quick-start guide to writing modularized JavaScript code.

What will Java 8 do to your code?

Java 8 is here -- so let's start kicking the tires and find out how it really works.

Integrating Arquillian and JBehave

Get a quick look at three open source extensions that integrate Arquillian's container-based testing with JBehave's behavior-driven development framework.

Uses and limitations of the Stream API in Java 8

The Stream API is one of the more noteworthy additions coming in Java 8. Get a short demo of Stream's impact on your everyday for-loop, then consider some of the features you might yet wish it had.

Load More