Bootstrapping a Web Project with Java and Rails

For a current gig I had to set up a Java web project from scratch. The set-up isn’t that unusual:

  • Spring 1.2 (yes, it’s rather old, but the project uses a portlet framework which used to work with Spring 1.1, and I don’t want to make the big jump just yet, the upgrade to Spring 1.2 went just fine though)
  • Hibernate 3.2 (hence the upgrade to Spring 1.2)
  • Tomcat 4.1.38 (again, the framework, and it’s a very stable version)

JRuby 1.0 is out

If that’s not exciting, then I don’t know what is. Original Ruby finally has got competition. I tip my hat to the team that developed JRuby in such a short time frame and now fully conforms with Ruby 1.8.x. Though I’m not keen to run JRuby in Glassfish, it’s nice to have the option to integrate a Rails application with J2EE services. Think of that EAI buzzword that came up a few years ago.

Smalltalk about BackgrounDRb

I held a small presentation about BackgrounDRb yesterday at the meeting of the Ruby User Group Berlin. It wasn’t a very big presentation, since actually, there’s not a lot to say about BackgrounDRb. But if you want to check it out, you can get the slides and the little sample application.

Deploying in a chroot Environment with Capistrano

A chroot environment seems to be rare these days. Everything is virtualized, load-balanced and what have you. I recently found myself trying to deploy into a chroot’ed Lighttpd environment with Capistrano and immediately ran over several pitfalls. The biggest problem is that Capistrano uses absolute links for directories like current and the links to the log directory.