Skip to content

Author Archives: Jeff

Here’s an Idea: Beanshell + EasyMock + Junit in Eclipse

This is postmodern computing at it’s finest… I’m a fairly recent convert to test driven development. I’ve always thought it seemed like the right thing to do, but have only recently bought into it whole-heartedly when I took over someone else’s code base and was told the requirement’s have changed and I needed to modify [...]

NOD32

For anyone who finds Norton Antivirus to be slow and a resource hog, I’d recommend NOD32 for firewall and antivirus protection. It loads much more quickly, and has won some awards I guess. Plus, it’s got this cool eye logo that reminds me of Star Trek or something: You can’t beat that can you?

Mo’ Bigga Corporate Environment

A friend sent this link to a horror story development environment at Microsoft. It was a story about the development of the Vista shutdown menu: Here’s a quote: So that nets us a conservative estimate of 24 people involved in this feature. Also each team of 8 was separated by 6 layers of management from [...]

Use Commons Lang

A snippet of code I see a lot is this: if(a != null && a.equals(b)) { //do something } One of the handy methods that Commons Lang gives you is: ObjectUtils.equals(a, b) where either a or b or both can be null and you don’t have to worry about those pesky null checks. Another useful [...]

Clustering Quartz Jobs in Spring

This is the first time I’ve worked in a clustered environment. I haven’t found much in terms of easy documentation about how to cluster quartz with Spring. There’s actually a bit more to it than you might expect. Clustering quartz requires a JDBCJobstore, this persists information about jobs and triggers. Quartz defines two; JobStoreTX and [...]

EasyMock Challenge

I’ve been using EasyMock with my unit tests on a current project. Generally, it’s been useful; to configure my project to run in a test environment on my desktop is a really pain. By using EasyMock I can create a very controlled environment for my tests by faking just enough of it to run. The [...]

Spring’s PropertyPlaceholderConfigurer

Dion has a nice post about Spring’s PropertyPlaceholderConfigurer class. This class allows you to pull information from a properties file and place it in your spring beans via expression language ${variable.name} conventions.

Wiring Quartz Beans in Spring

I’ve been working with batch processes a lot recently. While it’s not particularly exciting work, it is interesting in that they’re really independent applications, and as such you need to worry about releasing resources, managing memory, and other things that as an application developer you tend not to worry about. I’ve been using Quartz to [...]

Update on Flashdrive Sync

Ok now I’m actually trying to do the synchronization of my work directory… here’s my initial experience: >5:57pm – begin synchronization by right-clicking and selecting “Update All”. >5:58pm – Explorer begins “Not Responding” mode… >6:01pm – Entire screen blacks out >6:04pm – Explorer flashes at the bottom of my screen, and it’s no longer in [...]

Flashdrive Sync

At my current assignment, I’m allowed to take code home and work on it, but I don’t have remote access. I only have one ethernet port, so bringing my laptop in to synch is a PITA. The solution I’ve found is to use a $20 flashdrive and the windows briefcase option to synchronize. Steps: Create [...]