Tag Archives: Java

Rewrite or Rescue

Java has been the tool of choice for enterprise application development for many organizations for over 10 years. We are seeing more and more applications that are aging and suffering for it. We have worked with several recent clients to … Continue reading

Posted in Process, Web | Tagged , , | 5 Comments

Java Database Migrations

News: v0.9.9-m2 has been released! A while back, I wrote to introduce the first incarnation of the Carbon Five Database Migration tools, a simple though powerful framework for applying discrete changes to a database and tracking which changes have been … Continue reading

Posted in Web | Tagged | 22 Comments

Database Testing with Spring 2.5 and DBUnit

Note: Version 0.9.1 of c5-test-support has been released. We’ve been using DB Unit on our Java projects for years and the mechanics of how it’s used has evolved over time. I’ve recently spent some time making it work a little … Continue reading

Posted in Web | Tagged , | 23 Comments

Multithreaded Testing

Every now and then you’ll work on something that needs to handle requests from multiple concurrent threads in a special way. I say “special way” because in a web application, everything needs to handle being executed concurrently and there are … Continue reading

Posted in Web | Tagged , | 7 Comments

Configuring applications with Spring

If you’ve used Spring before, you’ve almost definitely used a PropertyPlaceholderConfigurer to inject settings from external sources — most likely properties files — into your application context. The most common use cases include JDBC and Hibernate settings, but it’s not … Continue reading

Posted in Web | Tagged | 16 Comments

Injecting Spring 2.5 beans into Stripes Actions

I’ve been playing around with Stripes, a light-weight, well-designed simple Java web MVC framework recently. I haven’t had the pleasure of working with it on a production application yet, but hope to sometime soon. Meanwhile, I’ve been tinkering on a … Continue reading

Posted in Web | Tagged | Leave a comment

Introducing Java DB Migrations

UPDATE: A new version of the Java DB Migrations framework has been release, check this post for details and the project documentation.</p Here at Carbon Five we have the luxury of working on many projects, so anything we can do … Continue reading

Posted in Web | Tagged | 6 Comments

JRubyGems Release

I’m releasing a first version of JRubyGems. This post is documentation until I come up with something better. JRubyGems allows you to package RubyGems on your Java application classpath. It removes the file system dependencies on locally installed gems that … Continue reading

Posted in Web | Tagged , | 1 Comment

Thoughts on JRuby

At Carbon Five we have built our professional consulting practice on the solid foundation of enterprise Java development. In 2007 we added Ruby and Ruby on Rails as development tool and framework that complement our existing values and process in … Continue reading

Posted in Web | Tagged , | Leave a comment

Parameterized REST URLs with Spring MVC

At Carbon Five, we’ve been working REST-ful practices into our web applications for some time now. Providing simple URLs for application entities is a key principal of this style, but parsing parameters out of the request path has been klunky … Continue reading

Posted in Web | Tagged | 20 Comments