Home » Author Archives: Dustin Marx (page 3)

Author Archives: Dustin Marx

Significant Software Development Developments of 2015

software-development-2-logo

This post is my personal and opinionated assessment of some of the most significant developers related to software development in 2015. My previous years’ assessment are available for 2014, 2013, 2012, 2011, 2010, 2009, 2008, and 2007. As with these previous years’ assessments, this assessment of 2015’s major developments in software development are obviously biased, opinionated, and limited to my ...

Read More »

Discovering a Trove of Java Primitives Collection Handling

java-logo

While reading the blog post 5 Tips for Reducing Your Java Garbage Collection Overhead, I was reminded of the existence of a small Java collection library called Trove that “provides high speed regular and primitive collections for Java.” I am especially interested in the ability to apply Trove to allow for collections of primitives rather than requiring elements in collections ...

Read More »

Does PostgreSQL Have an ORA-01795-like Limit?

postgresql-logo

The Oracle database requires that no more than 1000 entries be used in a SQL IN portion of a WHERE clause and will throw an ORA-01795 error if that number is exceeded. If a value needs to be compared to more than 1000 values, approaches other than use of IN must be applied. I wondered if this limitation applies to ...

Read More »

What Might a New @Deprecated Look Like?

java-logo

JDK Enhancement Proposal (JEP) 277 (“Enhanced Deprecation“) proposes to “revamp the deprecation annotation and provide tools to strengthen the tail end of the feature life cycle.” Some of the limitations of the current @java.lang.Deprecated have bothered me for some time. I particularly would like to be able to provide text with @Deprecated rather than being forced to place explanatory text ...

Read More »

Applying IDE Inspections to Custom Java Annotations

java-logo

The introduction of annotations with J2SE 5 has changed how we write and process Java. Besides Java SE’s predefined annotations, frameworks, IDEs, and toolkits have introduced their own custom annotations. The Checker Framework has provided examples of how custom annotations can be used to add greater type safety in Java. In this post, I look at the writing of a ...

Read More »

Better Performing Non-Logging Logger Calls in Log4j2

java-interview-questions-answers

Using logging guards is a common practice when using Log4j 1.x and wanting to avoid the additional performance impact that can occur on some occasions even if the message is not actually logged. One of the most attractive features that Simple Logging Facade for Java (SLF4J) brought to Java logging was the ability to reduce the number of circumstances in ...

Read More »

Easy and Consistent Log4j2 Logger Naming

java-logo

In the post Portable Logger Names with Java 7 Method Handles, I wrote about using Java 7‘s method handles to name classes’ loggers. I stated in that post that advantages of that approach included consistency in logger naming and avoiding accidental copying and pasting of code that might lead to a different class’s name being used for the logger name. ...

Read More »

Single Quotes in Oracle Database Index Column Specification

software-development-2-logo

In my previous post, I mentioned that a downside of using double quotes to explicitly specify case in Oracle identifiers is the potential for being confused with the use of single quotes for string literals. Although I don’t personally think this is sufficient reason to avoid use of double quotes for identifiers in Oracle, it is worth being aware of ...

Read More »

Downsides of Mixed Identifiers When Porting Between Oracle and PostgreSQL Databases

postgresql-logo

Both the Oracle database and the PostgreSQL database use the presence or absence of double quotes to indicate case sensitive or case insensitive identifiers. Each of these databases allows identifiers to be named without quotes (generally case insensitive) or with double quotes (case sensitive). This blog post discusses some of the potential negative consequences of mixing quoted (or delimited) identifiers ...

Read More »

JDK 9: Highlights from The State of the Module System

java-logo

Mark Reinhold‘s The State of the Module System (SOMS) was published earlier this month and provides an information-packed readable “informal overview of enhancements to the Java SE Platform prototyped in Project Jigsaw and proposed as the starting point for JSR 376.” In this post, I summarize and highlight some of concepts and terms I found interesting while reading the document. ...

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:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials