Java

  • submit to reddit

Fault Injection with Byteman and JUnit: Do Even More to Ensure Robustness of Your Applications

The time when our applications lived in isolation have passed long-long ago. Nowadays applications are a very complicated beasts talking to each other...

0 replies - 2119 views - 04/25/13 by Andriy Redko in Articles

Template Method Pattern- Using Lambda Expressions, Default Methods

Template Method pattern is one of the 23 design patterns explained in the famous Design Patterns book by Erich Gamma, Richard Helm, Ralph Johnson and John...

0 replies - 3832 views - 04/25/13 by Mohamed Sanaulla in Articles

Package your classes by Feature and not by Layers

Most of the enterprise Java applications share some similarities in their design. Mostly the packaging of these applications are driven by the framework...

1 replies - 244 views - 04/25/13 by Manu PK in Articles

Thursday Code Puzzler: Overlapping Rectangles

Thursday is code puzzler day here at DZone. The idea is simple: solve the coding problem as efficiently as you can, in any language or framework that you...

8 replies - 1652 views - 04/25/13 by James Sugrue in Articles

Android DevBytes: ListView Animations

Animating ListView items can lead to problems as views are recycled.  Learn how to perform these types of animations correctly with new API added in...

0 replies - 1803 views - 04/24/13 by Mitch Pronschinske in Articles

How to Create a Memory Leak

This is going to be a rather evil post – something you will be googling when you really wish to make someone’s life a misery. In the world of Java...

0 replies - 5724 views - 04/24/13 by Nikita Salnikov... in Articles

A Case Study: A JavaFX Widget Framework API

A prototype of a widget container Building a better mousetrap In short I want to revisit the idea of a cross platform widget framework using JavaFX. In...

0 replies - 1832 views - 04/24/13 by Carl Dea in Articles

Going Dawkins on God Objects.*

Meet the enemy. Steaming stinking jungle crushing all about you, insects infesting the air, strange grunts shuddering in the foliage, you pause deep in...

0 replies - 1273 views - 04/24/13 by Edmund Kirwan in Articles

An Overview of EJB 3.2

Java EE 7 includes a minor update of the EJB API with EJB 3.2 (JSR 345). For those of you keeping track of...

0 replies - 2313 views - 04/24/13 by Reza Rahman in Articles

Modularity Still Utterly Elusive, Decades Later

Quick, when was Modula 2 created (by the legendary Niklaus Wirth)? Did you guess 1977? Bet not. Was having a discussion this morning with Kenan on a range...

0 replies - 2418 views - 04/24/13 by Rob Williams in Articles

More Reasons to Update to Java 7

In Java SE 7 Update 21 Release and more, Tori Wieldt pointed out that "Oracle has released three updates to Java" this past week: Java 6 Update 45, Java 7...

0 replies - 2553 views - 04/24/13 by Dustin Marx in Articles

XStream – XStreamely Easy Way to Work with XML Data in Java

From time to time there is a moment when we have to deal with XML data. And most of the time it is not the happiest day in our life. There is even a term...

1 replies - 3743 views - 04/23/13 by Tomasz Dziurko in Articles

Puppet: Installing Oracle Java

In order to run the neo4j server on my Ubuntu 12.04 Vagrant VM I needed to install the Oracle/Sun JDK which proved to be more difficult than I’d...

0 replies - 2690 views - 04/23/13 by Mark Needham in Articles

Book Review: Effective Unit Testing: A Guide for Java Developers

In the Preface for Effective Unit Testing: A Guide for Java Developers, author Lasse Koskela states that although the impetus for Effective Unit Testing was to...

0 replies - 4041 views - 04/23/13 by Dustin Marx in Articles

JVM Run-Time Data Areas

This is my note of reading JVM specification. I draw a diagram which helps me understand. 1. Data Areas for Each Individual Thread (not shared) Data Areas...

0 replies - 1952 views - 04/23/13 by Ryan Wang in Articles