Home » Author Archives: Dustin Marx (page 6)

Author Archives: Dustin Marx

The Illuminating Javadoc of JDK 8

java-logo

One of the nice features of the standard JDK 8 API documentation is the ability to view all or different categories of methods as discussed in my blog post JDK 8 Javadoc Tweaked For Methods Listings. As convenient and useful as this categorization is, the text comments associated with many of the new classes and packages in JDK 8 are ...

Read More »

Serializing Java Objects with Non-Serializable Attributes

java-logo

There are multiple reasons one might want to use custom serialization instead of relying on Java’s default serialization. One of the most common reasons is for performance improvements, but another reason for writing custom serialization is when the default serialization mechanism is unsupported. Specifically, as will be demonstrated in this post, custom serialization can be used to allow a larger ...

Read More »

ObjectStreamClass: Peeking at a Java Object’s Serialization

java-logo

ObjectStreamClass can be a useful class to analyze the serialization characteristics of a serialized class loaded in the JVM. This post looks at some of the information this class provides about a loaded serialized class. ObjectStreamClass provides two static methods for lookup of a class: lookup(class) and lookupAny(Class). The first, lookup(Class), will only return an instance of ObjectStreamClass when the ...

Read More »

Something to Consider as Java Tops the Programming Charts

software-development-2-logo

The following is a contributed article from Dennis Chu of Coverity: Something to Consider as Java Tops the Programming Charts By Dennis Chu, Senior Product Manager, Coverity For development teams, it may be obvious: Java is one of the top programming languages today. Approximately 9 million developers are currently working in Java; it’s said to be running on three billion ...

Read More »

Specifying Gradle Build Properties

gradle-logo

Properties are a valuable tool for easily customizing Gradle builds and the Gradle environment. I demonstrate some of these approaches for specifying properties used in a Gradle build in this post. Gradle supports both project properties and system properties. The main difference between the two that is of interest in this post is how each is accessed. Project properties are ...

Read More »

The Gradle Interface: Gradle Build Metadata

gradle-logo

As I’ve shown in previous posts such as “Identifying Gradle Conventions” and “Evolving Gradle Build from Ant Build: Importing Ant Build File“, significant information about a Gradle build can be gleaned by accessing Gradle’s APIs via Groovy. In this post, I look demonstrate accessing basic Gradle build details via the Gradle interface. The org.gradle.api.invocation.Gradle interface is accessible in the Gradle ...

Read More »

Differentiating Ant Target-Based Gradle Tasks

gradle-logo

In my blog post Evolving Gradle Build from Ant Build: Importing Ant Build File, I demonstrated using Gradle‘s built-in AntBuilder-based Ant support to import Ant targets in a Gradle build. These Ant targets can then be accessed as Gradle tasks and appear the same as tasks introduced directly by the Gradle build. In this post, I look at using Groovy ...

Read More »

Evolving Gradle Build from Ant Build: Importing Ant Build File

gradle-logo

Changing the build system on a large project can be difficult and a lot of work. Fortunately for those migrating Ant builds to Gradle builds, Gradle provides particularly convenient mechanisms to facilitate this migration. Because Gradle is built on Groovy and Groovy includes built-in Ant support via AntBuilder, Gradle builds can use AntBuilder to call Ant tasks and run Ant ...

Read More »

Identifying Gradle Conventions

gradle-logo

Configuration by convention has many advantages, especially in terms of conciseness because developers do not need to explicitly configure things that are implicitly configured through convention. When taking advantage of configuration by convention, however, one needs to be aware of the conventions. These conventions might be documented, but I always like it when I can programmatically determine the conventions because ...

Read More »

Significant Software Development Developments of 2013

software-development-2-logo

At the end of each calendar year, I like to summarize some of the most significant developments in the software development industry that happened during the year that is ending. The choice of these is entirely subjective and obviously colored by my own experience, background, perceptions, and preferences. Not worrying about the opinionated content of such a post, I now ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close