How-Tos

Build self-healing distributed systems with Spring Cloud

Meet the challenges of microservices and distributed computing with Netflix-forged components and familiar tools.

JavaScript objects from a Java developer's perspective

Get tips for instantiating JavaScript's prototype-based objects two ways: via constructor functions or object initialization.

big data charts graphs analysis woman user

Learn to crunch big data with R

Get started using the open source R programming language to do statistical computing and graphics on large data sets.

jw scalable sockets networks

Socket programming in Java for scalable systems

Three iterations of a Java socket client-server example demonstrate the timeless utility of Java I/O, while also showcasing NIO and NIO.2's streamlined concurrency and scalability features.

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.

Load More