Building Java EAR files using Ant

Technology
Apr 11, 2010

When creating new Java web applications within an IDE such as Eclipse or NetBeans, the IDE creates a directory structure and uses its own internal builder to create WAR and EAR files. While these build tools may be convenient when starting to develop J2EE applications, when working on production grade projects, it’s important to create your own directory structure and build scripts to automate the building and deployment process. This tutorial will take you through automating the build process of a web application using Apache Ant as well as giving you a better understanding of exactly how web applications are laid-out and built within the EAR file.

Read More Right Chevron

Java’s Checked Exceptions

Technology
Apr 7, 2010

Anyone who has programmed with Java should be familiar with the concept of Checked Exceptions. Although C++ and OCaml have optional support for exception checking, Java seems to be the only major programing language where it is a built-in and required part of the language. Enforcing at compile time that certain exceptions need to be caught may have seemed like a good idea at the time Java was developed, however no major languages developed since have adapted the concept. Many view Checked Exceptions as a design flaw. In this article, I attempt to show how this flaw can be overcome using a base exception class to encapsulate exception handling.

Read More Right Chevron

Disappointed with Zend’s PHP5 Certification

Technology
Mar 4, 2010

I’ve never been a huge fan of certification. Although I understand it is supposed to help gauge an industry benchmark in a given field, I often feel like it’s given the IT world a generation of good test takers who are not necessarily good designers. Still, I’ve programmed with PHP on my own for years and want to eventually move my career path towards that direction. I decided to get a one up and try for my Zend PHP5 certification. What I came away with was a massive sense in disappointment in Zend’s entire certification process.

Read More Right Chevron

TweeFlood

Technology
Nov 23, 2009

I just finished my latest web application project: TweeFlood. For those of you on Twitter, TweeFlood is a way to see how much you and your friends tweet. It displays statistics for how often your friends tweet per year, month, day and hour. Try it out and follow @TweeFlood.

Read More Right Chevron

A Public Option With Prayer and Without Abortion

Politics
Nov 22, 2009

Two weeks ago a new health care bill, H.R. 3962, passed the House. Many prominent democrats voted it down saying it did too little while health insurance companies denounced it claiming it did too much. Between this mess includes several awkward provisions and amendments which include removing funding for abortions from publicly subsidized plans while allowing medical reimbursements for prayer services.

Read More Right Chevron

Installing Awstats on a Media Temple grid-server (gs)

Technology
Nov 2, 2009

I’ve been using Media Temple for web hosting for a while. Like any other host, they have their advantages and disadvantages. One of the biggest problems with Media Temples is that their basic grid-server (gs) package only allows for very simple statistics gathering using Urchin. It is so simple that it combines hit counts from all websites into one graph unless users purchase additional grid-server units. Although Media Temple provides raw access logs, the way virtual hosts have been setup causes difficulty when attempting to use their logs with a log analyzer.

The following tutorial goes through how to install and configure the free and open source web statistics program Awstats to be used with Media Temple’s grid-servers to provide analytic data from the Apache logs per each individual domain.

Read More Right Chevron

Winter at Lula Lake

Technology
Apr 22, 2009

Season Song – Kaiser Cartel

Technology
Apr 13, 2009

Okay – Kaiser Cartel (ft. Winterpills)

Technology
Apr 13, 2009

nVidia’s Hardware H.264 (1080p) codec for Linux

Technology
Feb 6, 2009

I spent a couple of hours getting a proprietary software H.264 codec working in Linux and even published a writeup to help others. A day later I learned from one of the people I sourced in my article that nVidia started releasing Linux drivers last November for the hardware high definition decoders found on the 8xxx series of video cards as well as a customized version of mplayer to support the new drivers.

A mixture of emotions came across as I realized I wasted an entire day on a software decoder when a hardware solution was available for $30 to $40. The software solution was fairly disappointing, so I decided to try one of these new cards, an nVidia GeForce 8500 GT, to see if it provided a better solution. It took some work with my setup, but the results were worth it.

Read More Right Chevron