A Method For Creating A Human-Readable File Size

Brice McIver Java, Problem Solving, Technology Snapshot 4 Comments

Recently, I was working on a project in which the users needed to see a list of files available for download. While it wasn’t a specific requirement, I thought it might be helpful to have the file size appear next to the file name. This is a common enough use case that I figured that there must be an open source library that …

Build vs. Buy, Creating a Report Writing Framework

David Pitt Consulting, Java, Keyhole Creations, Problem Solving 2 Comments

During one of my engagements, a requirement arose for the production of numerous financial audit reports in PDF format. These reports currently existed and were being produced by COBOL applications, and since COBOL (running on a mainframe) was being retired, they needed to be replaced with a Java solution. I was tasked with defining a mechanism to efficiently enable developers …

A JSF Session Scope Custom Solution

Keith Shakib Consulting, Java, Problem Solving, Technology Snapshot 10 Comments

As a software consultant, I very rarely end up in a situation where I am asked to implement something new from scratch, and even rarer is the request to come in and enhance an existing piece of code that is well-designed and beautifully written. The request I received on my last project is much more the norm: “We have several …

Annotations and Advice, By Example

Robert Rice Problem Solving, Technology Snapshot Leave a Comment

For me, its much easier to learn new concepts by way of concrete, real life examples, rather than by vague scenarios created for the sole purpose of working through a tutorial. What follows is a description of a real problem encountered in my work, and how I utilized annotations and point cut advice to implement a solution. The system I …