Design Patterns

Design patterns news, information, and how-to advice

What would you do to improve dynamic proxies?

Java's chief language architect wants to know: What would you do to improve dynamic proxies in the Java language?

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 101: The next generation: The essential Java language features tour, Part 3

Get introduced to the last but not least of new features that have improved Java's productivity since JDK 5: Autoboxing and unboxing, the enhanced for loop, static imports, varargs, and covariant return types.

Coding conventions: 9 areas where developers actually agree

Millions of GitHub commits don't lie: find out how your coding habits and pet peeves stack up based on real code written in Java, Python, Ruby, PHP, Scala, C#, and JavaScript.

Break Down Barriers and Reduce Cycle Times with DevOps

Learn why and how many successful companies have changed how they deliver software by dismantling the traditional silos that stifle collaboration and progress.

ObjectStreamClass: Peeking at a Java Object's Serialization

Learn a few tricks for using an ObjectStreamClass to analyze the serialization characteristics of a serialized class loaded in the JVM.

HttpClient basic authentication

Basic authentication with HttpClient 4: A simple use case demonstrates preemptive authorization and how to manually set the Authorization header.

Java programming with lambda expressions

The major new features in Java 8 center around lambda expressions, a functional programming construct that simplifies certain types of programming problems. John Moore demonstrates the power of lambdas by contrasting several...

Horizontal reuse: An alternative to inheritance

Horizontal reuse offers advantages over inheritance in many situations, but not in every language.

4 ways to modernize your application performance monitoring strategy

Online retail sales in the US will reach $370 billion by 2017 - a 10 percent compound annual growth rate over the next 5 years.

Java 101: The next generation: The essential Java language features tour, Part 2

Learn how to use typesafe enums in switch statements, then get started with Java annotations and meta-annotations types like Target, which can clarify the meaning of annotations in your Java code.

Eric Redmond on design patterns for distributed systems

Basho engineer Eric Redmond discusses the mechanics, patterns, and tradeoffs involved in building distributed systems, based in part on his experience with the NoSQL database Riak.

Object calisthenics: Change the way you code

If you want to sharpen your code, put on your tracksuit and hit the virtual gym. This workout routine is made for programmers.

Java Tip: Write an SOA integration layer with Apache Camel

Use Apache Camel's Multicast and Aggregator pattern implementations to develop a quick-and-easy integration layer for a service-oriented architecture.

10 key findings illustrate the need for a new breed of APM solutions

This paper highlights ten key takeaways from the most recent survey on the impact of Cloud on application management. Read Now>>

The full Java life: What does a software architect really do all day?

Software architects have it easy, or so many coders and engineers believe. Find out what an architect's day-to-day working life really looks like in this Full Java life interview. Java programming veteren Bruce Brouwer discusses his...

$200K for a computer science degree? Or these free online classes?

If you do the work, you can get a computer science education online rivaling that of the Ivy League. Here's a nice little curriculum for you.

Java Tip: Orthogonality by example

Orthogonality is a concept often used to describe modular and maintainable software, but it's also a design principle found (and broken) in some of our most popular Java utilities. With this short article you'll wrap your head around...

Java 101: The next generation: It's time for a change

Find out how the Java Date and Time API addresses the need for a more robust date and time infrastructure in Java SE, then familiarize yourself with the java.time classes you're most likely to use, in this inaugural installment of...

Mobile Apps and Devices Slash Customer Cycle Time

Consolidated Engineering Laboratories' field employees used to collect data on triplicate forms that were sometimes hard to read and difficult to manage. After procuring iPad devices from CDW and integrating mobile apps with

Design patterns, the big picture, Part 3: Beyond software design patterns

Find out how interaction designers, software architects, and agile development teams use design patterns to improve software development processes and products.

Design patterns, the big picture, Part 2: Gang-of-four classics revisited

Jeff Friesen revisits the Gang of Four Strategy and Visitor patterns from a Java developer's perspective, first demonstrating the three components of a successful Strategy, then unpacking Visitor's confounding (for many) double...

Design patterns, the big picture, Part 1: Design pattern history and classification

Jeff Friesen's three-part introduction takes a wide-angle view of design patterns. Part 1 introduces the concept and use of design patterns and walks through a process of evaluating the Composite pattern for a particular Java use...

Learn Scala with Specs2 Spring

Using Specs2 Spring to test your Java apps is one way to start learning Scala's object-functional programming patterns, without leaving the Spring framework or tossing out perfectly good Java code.

Load More