Home » Author Archives: Dustin Marx (page 6)

Author Archives: Dustin Marx

How to Begin Learning and Applying LaTeX

software-development-2-logo

I recently started working with LaTeX based on a colleague‘s recommendation. To be honest, it was a little steeper learning curve installing it and initially learning it than I’ve become used to when installing and using new software development products and I hope in this post to provide some basic tips to help others who want to investigate this “document ...

Read More »

Abstract Class Versus Interface in the JDK 8 Era

java-logo

In The new Java 8 Date and Time API: An interview with Stephen Colebourne, Stephen Colebourne tells Hartmut Schlosser, “I think the most important language change isn’t lambdas, but static and default methods on interfaces.” Colebourne adds, “The addition of default methods removes many of the reasons to use abstract classes.” As I read this, I realized that Colebourne is ...

Read More »

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 »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.