Posts

DynamoDB is Amazon’s version of a NoSQL database. Now normally like everyone in the Amazon web space you have to develop your application remotely… and every developer knows that developing remotely is a huge pain. Not only do you have to worry about network and speed issues, you also have to worry about racking up unnecessary costs […]

Time to geek it up! I wanted this third part of my series to be a culmination of my previous Up and Running with Homebrew part 1 and part 2 blogs along with Forcing Myself to Learn by Teaching. I figured I’d compromise on forcing myself to learn and start the process by sharing something […]

This blog entry is about something I came across recently in a project I’ve been on. During the upgrade to Spring 4.2.0.release, the long-deprecated method installFormatters from FormattingConversionServiceFactoryBean was removed. This caused problems, as the project relied on the installFormatters method to register a custom ConverterFactory (from String to domain object) with Spring. Here’s a […]

In my last blog entry I walked you through the setup of a Java/Maven/Git development environment on OS X using Homebrew. In this entry I will walk you through a project using this new developer setup. A Quick Spring Project Let’s put our new tools to work by creating a starter application that will use […]

Overview One of the first things I do when using a new Mac is to set up development tools. Rather than jumping all over the internet and downloading all these separately, I’ve come to know a nice command line utility called Homebrew. Now I know this isn’t exactly breaking news–a lot of people have messed around […]

In the final installment of this series on barcoding we’ll be reviewing a simple Spring MVC application that combines the concepts from the previous posts. This will illustrate how all the different components of a barcoding process, such as printing, scanning and user interaction, go together to form a complete workflow. It also provides a […]

At some point during a project, you will invariably run into the problem of needing to record the execution time of a portion of your system. In the case I recently ran into, I suspected that the performance of an external web service call degraded over time. So what was the simplest solution to show the […]

Recently I came across a situation where I needed to be able to deserialize a decently complex custom domain object from JSON back into Java. The entity contained several collections of custom objects, and in some cases collections of interfaces to more custom implementations of domain objects. This is a quick cheat-sheet guide on how […]

As a consultant I am often asked to justify an expense, explain a technology or architectural decision, give my advice on software development life-cycle processes, or any number of other aspects that go into delivering software solutions to customers. I was recently asked to justify the expense of buying IntelliJ licenses in a development group. […]

If you’ve been using Spring Security at all, then you’re probably familiar with the PreAuthorize annotation, typically used in the following manner: But what makes @PreAuthorize even more useful is its support for Spring Expression Language (SpEL) to go beyond simple role checks. The following are a few examples of SpEL expressions that can harness […]