Something to consider as Java tops the programming charts

The failure of HealthCare.gov is just one indicator of a problem -- not with the Java language, but with how many developers are using it.

01/20/2014

Evolving Gradle build from Ant build: Importing Ant build files

You might be familiar with Groovy's AntBuilder, which you can use to call Ant tasks and run Ant targets. But have you tried Gradle's built in DefaultAntBuilder?

01/08/2014

Initial Peek at Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications

Packt Publishing recently invited me to review Mick Knutson 's ( @mickknutson ) book Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications .

12/13/2013

Dozer: Mapping JAXB Objects to Business/Domain Objects

Dozer is an open source ( Apache 2 license ) "Java Bean to Java Bean mapper that recursively copies data from one object to another." As this description from its main web page states, it is used to map two JavaBeans instances for...

12/09/2013

More Common Red Flags in Java Development

In the post Common Red Flags in Java Development I looked at some practices that are not necessarily wrong or incorrect in and of themselves, but can be indicative of potentially greater problems.

12/02/2013

Uncompressing 7-Zip Files with Groovy and 7-Zip-JBinding

This post demonstrates a Groovy script for uncompressing files with the 7-Zip archive format. The two primary objectives of this post are to demonstrate uncompressing 7-Zip files with Groovy and the handy 7-Zip-JBinding and to call...

11/28/2013

Book Review: Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON

I was particularly interested in accepting Packt Publishing 's offer to provide a book review of Masoud Kalali 's and Bhakti Mehta 's Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON because its title mentions three...

11/27/2013

Book Review: Developing Windows Store Apps with HTML5 and JavaScript

I recently accepted Packt Publishing 's invitation to review Rami Sarieddine 's book Developing Windows Store Apps with HTML5 and JavaScript .

11/25/2013

Native Java Packaging with NetBeans 7.4

One of the new features of NetBeans 7.4 that made the " NetBeans 74 NewAndNoteworthy " page is " Native Packaging ," which is described on that page as " JavaSE projects now support creation of native bundles taking use of the native...

11/18/2013

Too Many Parameters in Java Methods, Part 8: Tooling

The first seven posts of my series of dealing with too many parameters expected in Java methods focused on alternative approaches to reduce the number of parameters a method or constructor expects. In this eighth post in the series, I...

10/26/2013

Too Many Parameters in Java Methods, Part 7: Mutable State

In this seventh post of my series on addressing the issue of too many parameters in a Java method or constructor, I look at using state to reduce the need to pass parameters.

10/21/2013

Too Many Parameters in Java Methods, Part 6: Method Returns

In the current series of posts I am writing on reducing the number of parameters required to call Java methods and constructors, I have focused so far on approaches that directly affect the parameters themselves ( custom types ,...

10/18/2013

Too Many Parameters in Java Methods, Part 5: Method Naming

In my previous post ( Part 4 of my series on dealing with too many parameters in Java methods), I looked at method overloading as one approach to providing clients with versions of methods or constructors requiring fewer parameters.

10/17/2013

Too Many Parameters in Java Methods, Part 4: Overloading

One of the problems with expecting too many parameters to be passed to a Java method is that it is more difficult for the client of that method to be determine that they are passing the appropriate values in the appropriate order.

10/15/2013

Too Many Parameters in Java Methods, Part 3: Builder Pattern

In my two immediately previous posts, I looked at reducing the number of parameters required for a constructor or method invocation via custom types and parameter objects. In this post, I look at use of the builder pattern to reduce...

10/12/2013

Too Many Parameters in Java Methods, Part 2: Parameters Object

In my previous post, I looked at some of the problems associated with long parameters lists for methods and constructors. In that post, I discussed replacing primitives and built-in types with custom types to improve readability and...

10/09/2013

Too Many Parameters in Java Methods, Part 1: Custom Types

I consider lengthy parameters lists in constructors and methods to be another " red flag " in Java development that may not necessarily be "wrong" in terms of logic and functionality, but often hint at the high possibility of current...

10/07/2013

JavaOne 2013 Vicariously

I was disappointed that I was not able to attend JavaOne 2013 , but was happy to see numerous useful posts covering this annual conference.

09/30/2013

My Favorite Books for Advanced Java Developers

The idea for my last blog post (my ten favorite online resources for advanced Java developers), was inspired by the Xiaoran Wang post Top 10 Websites for Advanced Level Java Developers .

09/21/2013

My Favorite Online Resources for Advanced Java Developers

The ProgramCreek.com blog has recently featured two interesting posts targeted at "advanced" Java developers: Top 10 Books For Advanced Level Java Developers and Top 10 Websites for Advanced Level Java Developers . These posts...

09/16/2013

Load More