Home » Author Archives: Dustin Marx (page 3)

Author Archives: Dustin Marx

Three Common Methods Generated in Three Java IDEs

eclipse-logo

In this post, I look at the differences in three “common” methods [equals(Object), hashCode(), and toString()] as generated by NetBeans 8.0.2, IntelliJ IDEA 14.0.2, and Eclipse Luna 4.4.1. The objective is not to determine which is best, but to show different approaches one can use for implementing these common methods. Along the way, some interesting insights can be picked up ...

Read More »

Goodbye, Dr. Dobb’s

software-development-2-logo

Andrew Binstock‘s 16 December 2014 column Farewell, Dr. Dobb’s announces that the Dr. Dobb’s parent company is planning to “sunset” the Dr. Dobb’s website. The column is an interesting read because Binstock analyzes why the website will add no new content despite consistently increasing traffic at the site. This analysis provides an overview of how the market for communicating technical ...

Read More »

Manipulating JARs, WARs, and EARs on the Command Line

java-logo

Although Java IDEs and numerous graphical tools make it easier than ever to view and manipulate the contents of Java archive (JAR, WAR, and EAR) files, there are times when I prefer to use the command-line jar command to accomplish these tasks. This is particularly true when I have to do something repeatedly or when I am doing it as ...

Read More »

Cannot Uninstall JavaFX SceneBuilder 1.0 with JDK 8

javafx-logo

I was recently removing some of the software development applications, tools, and files I had used from an old Vista-based laptop because the people who are primarily using that laptop now have no interest in software development. As part of that effort, I tried to remove JavaFX Scene Builder 1.0, which I had installed a couple of years ago on ...

Read More »

Java Extension Mechanism Loads All JARs

java-logo

The Java Extension Mechanism is described in the Java Tutorial as a “standard, scalable way to make custom APIs available to all applications running on the Java platform.” As described in Understanding Extension Class Loading, “the extension framework makes use of the class-loading delegation mechanism” with extension classes loaded after the bootstrap classes in rt.jar (and related JARs) but before ...

Read More »

Java Minor Releases Scheme Tweaked Again

java-logo

In 2013, Oracle announced the Java SE – Change in Version Numbering Scheme. The announcement stated that Limited Update releases (those “that include new functionality and non-security fixes”) and Critical Patch Updates (CPUs) [those “that only include fixes for security vulnerabilities”] would be released with specific version number schemes. In particular, Limited Use Releases would have version numbers with multiples ...

Read More »

NetBeans 8.0’s Five New Performance Hints

netbeans-logo

NetBeans 8.0 introduces several new Java hints. Although there are a large number of these new hints related to Java Persistence API, I focus on five new hints in the Performance category. The five new “Performance Hints” introduced with NetBeans 8.0 are:             Boxing of already boxed value Redundant String.toString() Replace StringBuffer/StringBuilder by String Unnecessary ...

Read More »

JavaOne 2014 Observations by Proxy

java-logo

I wasn’t able to attend JavaOne this year, but have been happy to see some online resources covering what happened at JavaOne 2014. In this post, I summarize some of the observations made at JavaOne 2014 and provide links to references providing these observations or providing more background details on those observations. The listed observations are in no particular order ...

Read More »

ChoiceFormat: Numeric Range Formatting

java-logo

The Javadoc for the ChoiceFormat class states that ChoiceFormat “allows you to attach a format to a range of numbers” and is “generally used in a MessageFormat for handling plurals.” This post describes java.text.ChoiceFormat and provides some examples of applying it in Java code. One of the most noticeable differences between ChoiceFormat and other “format” classes in the java.text package ...

Read More »

Date/Time Formatting/Parsing, Java 8 Style

java-logo

Since nearly the beginning of Java, Java developers have worked with dates and times via the java.util.Date class (since JDK 1.0) and then the java.util.Calendar class (since JDK 1.1). During this time, hundreds of thousands (or maybe millions) of Java developers have formatted and parsed Java dates and times using java.text.DateFormat and java.text.SimpleDateFormat. Given how frequently this has been done ...

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