How-To

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

08/15/14

Books that have most influenced my software development career
Opinion

Books that have most influenced my software development career

Dustin Marx names 9 books that have earned a permanent place in his bookshelf, and maybe yours....

08/04/14

News

Custom Cassandra data types

Learn to create and then use custom Cassandra Query Language data types in this quick tutorial from Dustin Marx....

07/07/14

News Analysis

Next generation Project Valhalla proposed

Proposed by Brian Goetz, Project Valhalla would provide long-term structure and support for evolving the Java language and platform. Voting by current OpenJDK members closes on July 7....

06/27/14

I don't think that software development word means what you think it means
Opinion

I don't think that software development word means what you think it means

From Agile to SLOC, Dustin Marx corrects the record about programming terminology that is commonly misused, and even misunderstood, by software developers....

06/23/14

How-To

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

05/27/14

Hello Cassandra
How-To

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

05/19/14

Tip

New BigInteger methods in Java 8

Unlike Value(), BigInteger's four new ValueExact() methods will throw an ArithmeticException if the number contained in a BigInteger instance isn't specified in the method's name. While nobody likes exceptions, this post demonstrates...

04/14/14

Opinion

Dubious features of Java 8

While Java 8's updated default methods, parallel streams, and functional interfaces bring more function and flexibility to the Java platform, some developers note that change doesn't come without a price. ...

04/09/14

Opinion

Contributions of individual programming languages to software development

Let's not argue anymore about which programming language is best! This post considers some of our most and least popular languages in terms of their ongoing contributions to software development....

03/31/14

Tip

Abstract class versus interface in the JDK 8 era

The difference between abstract classes and interfaces has long vexed Java developers. Find out how Java 8's default methods introduce both new complexity and new options to that familiar programming conundrum. ...

03/27/14

News

The wait is over: JDK 8 is here!

A developer's list and crib-sheet of some of the best resources on the web for learning about Java 8, now in general availability. ...

03/24/14

Tip

Serializing Java objects with non-serializable attributes

Use custom serialization as an alternative to transience for non-serializable attributes in your Java objects....

02/10/14

Tip

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

02/03/14

Opinion

Something to consider as Java tops the programming charts

The failure of HealthCare.gov is just one indicator of a problem -- not with the Java language, but with how many developers are using it. ...

01/20/14

How-To

Evolving Gradle build from Ant build: Importing Ant build files

You might be familiar with Groovy's AntBuilder, which you can use to call Ant tasks and run Ant targets. But have you tried Gradle's built in DefaultAntBuilder?...

01/08/14

How-To

Initial Peek at Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications

Packt Publishing recently invited me to review Mick Knutson 's ( @mickknutson ) book Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications ....

12/13/13

How-To

Dozer: Mapping JAXB Objects to Business/Domain Objects

Dozer is an open source ( Apache 2 license ) "Java Bean to Java Bean mapper that recursively copies data from one object to another." As this description from its main web page states, it is used to map two JavaBeans instances for...

12/09/13

How-To

More Common Red Flags in Java Development

In the post Common Red Flags in Java Development I looked at some practices that are not necessarily wrong or incorrect in and of themselves, but can be indicative of potentially greater problems....

12/02/13

How-To

Uncompressing 7-Zip Files with Groovy and 7-Zip-JBinding

This post demonstrates a Groovy script for uncompressing files with the 7-Zip archive format. The two primary objectives of this post are to demonstrate uncompressing 7-Zip files with Groovy and the handy 7-Zip-JBinding and to call...

11/28/13

Load More