Category Archives: Coding

Script to build a Java classpath

If you need to compile or run Java programs from the command line, it can be a real hassle to identify all the jar libraries the program requires and include them in your classpath. Here is a short script that … Continue reading

Posted in Coding, Tips | Leave a comment

S3 Copy Object feature is now available in beta

Amazon has announced beta support for the Copy Object operation in S3. This feature was pre-announced in March. The copy functionality allows you to copy objects within or between your S3 buckets, and optionally to replace the metadata associated with … Continue reading

Posted in AWS, Coding, JetS3t | 4 Comments

Browser Uploads to S3 using HTML POST Forms

I have added an article about the S3 service’s POST upload feature to the AWS resources site: Browser Uploads to S3 using HTML POST Forms. The article describes how to create HTML POST forms that allow your web site visitors … Continue reading

Posted in AWS, Coding | Leave a comment

Programming Amazon EC2 Version 2008-02-01

Amazon has released an updated version of the Elastic Compute Cloud (EC2) API with the version name 2008-02-01 . This release includes a number of new features that were not available in the 2007-08-29 version of the API that I … Continue reading

Posted in AWS, Coding, O'Reilly Book | Leave a comment

Ruby on Rails: errors when launching threads from a controller

While writing a proof-of-concept Ruby on Rails application (Ruby 1.8.6, Rails 2.0.2) I was stumped by an intermittent problem where long-lived processes would fail with the error message: <ArgumentError: A copy of TransactionController has been removed from the module tree … Continue reading

Posted in Coding | Leave a comment

Shell script to find a class in a set of Jar files

When you work on a Java project with many library dependencies it can be difficult to know which Jar files contain which classes. Hunting down a particular class in a tangled mess of Jar files can be painful, especially if … Continue reading

Posted in Coding | 2 Comments