Home » Author Archives: Dustin Marx

Author Archives: Dustin Marx

Painful Reminder of Java Date Nuances

java-logo

I don’t need to use java.util.Date much anymore these days, but recently chose to do so and was reminded of the pain of using the APIs associated with Java Date. In this post, I look at a couple of the somewhat surprising API expectations of the deprecated parameterized Date constructor that accepts six integers. In 2016, Java developers are probably ...

Read More »

More on Spooling Queries and Results in psql

postgresql-logo

In the recent blog post SPOOLing Queries with Results in psql, I looked briefly at some PostgreSQL database psql meta-commands and options that can be used to emulate Oracle database‘s SQL*Plus spooling behavior. In that post, I wrote, “I have not been able to figure out a way to … have both the query and its results written to the ...

Read More »

Apache NetBeans?

netbeans-logo

It’s fairly common to have significant announcements related to the world of Java released in the days and weeks leading up to JavaOne. With that in mind, it’s not surprising that we’re seeing some significant Java-related announcements just prior to JavaOne 2016 that begins next week. One announcement is Mark Reinhold‘s Proposed schedule change for JDK 9 in which Reinhold ...

Read More »

AutoCommit in PostgreSQL’s psql

postgresql-logo

One potential surprise for someone familiar with Oracle database‘s SQL*Plus when being introduced to PostgreSQL database‘s psql may be psql‘s default enabling of autocommit. This post provides an overview of psql’s handling of autocommit and some related nuances. By default, Oracle’s SQL*Plus command-line tool does not automatically commit DML statements and the operator must explicitly commit these statements as part ...

Read More »

Even Good Code Comments Deteriorate

software-development-2-logo

As I mentioned in a previous blog post, I’ve been working a bit with Infinispan recently. One of the things that I like about Infinispan’s and PostgreSQL‘s documentation is that each product’s documentation makes it very clear which version of the product the documentation applies to and they each make it easy to find other or more current versions of ...

Read More »

Running -XX:CompileCommand on Windows

java-logo

The HotSpot JVM provides several command-line arguments related to Just In Time (JIT) compilation. In this post, I look at the steps needed to start applying the command-line flag -XX:CompileCommand to see the just-in-time compilation being performed on individual methods. JIT Overview Nikita Salnikov-Tarnovski’s blog post Do you get Just-in-time compilation? provides a nice overview of the JIT compiler and ...

Read More »

Will StackOverflow Documentation Realize Its Lofty Goal?

software-development-2-logo

StackOverflow.com has had a huge impact on software development. Although I agree with Fred Brooks that there is no silver bullet in software development, StackOverflow.com has certainly played a significant role in developers learning quicker from others’ experiences, being able to learn from many more peoples’ experiences, and being more productive. StackOverflow.com allows developers to benefit from the advantages of ...

Read More »

Infinispan Versions Mapped to Minimum Java Versions

java-interview-questions-answers

I’ve been playing around a little bit with Infinispan recently and one of the characteristics of this “distributed in-memory key/value data store” that I have noticed is its relatively aggressive adoption and even requirement of later major versions of Java. The following maps Infinispan releases to minimum required Java SE versions per referenced Infinispan documentation. Infinispan Versions and Their Minimum ...

Read More »

Applying JDK 9 @Deprecated Enhancements

java-logo

I discussed the currently proposed JDK 9 enhancements for the @Deprecated annotation in the blog post JDK 9 @Deprecated Annotation Enhancements. In this post, I look in greater detail at the recommended usage of these minor enhancements and demonstrate how key Java SE APIs are already having these @Deprecated enhancements applied. The current version of the main JEP 277 (“Enhanced ...

Read More »

JDK 9 @Deprecated Annotation Enhancements

java-logo

In the post What Might a New @Deprecated Look Like?, I used the description of JEP 277 (“Enhanced Deprecation”) at that time to guide the creation of an enhanced customized @Deprecated annotation. Since that post, however, there have been significant changes made in JEP 277. This post summarizes the changes and the currently planned enhancements to @Deprecated that are slated ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns