Red Rocks

Integrating GraniteDS and BlazeDS with a Spring WebMVC Application

February 5, 2010

Both GraniteDS and BlazeDS provide support for remote calls and messaging using Adobe’s AMF protocol. However, when it comes to integrating them with a Spring application that already uses Spring’s DispatchServlet, the projects start to show some differences.

In a previous post, I outlined the steps to getting GraniteDS 2.0 setup with Spring. However, this approach results in two separate Spring contexts, so my Spring Service with the ‘singleton’ scope was being loaded twice. Not good.

Read More

Migrating from Google Blogger FTP to a Custom Domain

February 4, 2010

Up until today, my blog was hosted at http://www.ericdaugherty.com/blog using Blogger’s FTP publishing service. This service uploaded html files to my GoDaddy hosting account whenever a new post was created. While it worked reasonably well, and I liked the control it provided (since I had a backup copy of my entire blog on my hosting site), it did have a few issues. While I was not excited about moving my blog, I understood Google’s reasoning.

Read More

Excluding Content from url-pattern in Java web.xml

February 1, 2010

A while ago I blogged about my frustration with my inability to exclude certain URLs from a url-pattern mapping. In short, I wanted to map everything except /static/* to a dispatch servlet.

There is a way to do this, in some servlet servers. Many (most, all?) servlet containers define a default servlet to handle static content. Be default, any unmapped URLs will be handled by the default servlet. However, you can explicitly map certain URLs to this default servlet, achieving a de-facto url-exclude pattern.

Read More

What is the iPad?

January 29, 2010

Inventing a new device category is hard. If it wasn’t, the category would probably already exist. So there should be no surprise that Apple’s iPad announcement has yielded wildly different responses. Here is my take.

First, as the happy owner of a Kindle 2, buying a $499 media pad is something I can contemplate. The Kindle DX at $489 with the same sized screen becomes a very tough sell versus the entry level $499 iPad. I love my 6" Kindle, and while it is in a different league at $259, I would have to stop and think about whether I’d buy it again today. Now, about that iPad…

Read More

No Flash on the iPad is the Right Choice for Apple

January 29, 2010

Apple finally announced the Jesus Tablet iPad, launching what they believe to be a new device category. It remains to be seen whether they are correct (although I have my guesses), but the launch of the iPad has rekindled an existing fight between Apple and Adobe.

Apple refused to implement (or allow others to implement) Flash on the iPhone. John Gruber has written about this topic extensively over the past two years. He correctly (though not surprisingly) predicted that the iPad would not support Flash. I say not surprisingly, because all the reasons they had for not supporting Flash on the iPhone still exist for the iPad. OK, one reason: CONTROL. I won’t rehash John’s arguments, but the summary is, Apple wants to control the experience (and commerce) on the iPhone (iTouch, iPad, etc.), and Flash bypasses that control.

Read More

The Complete Software Developer

January 25, 2010

The Software Development profession is still a relatively immature profession. There are few real certifications and no real licensing processes that provide any realistic guide to an individual’s competency. The landscape evolves quickly and covers a very broad spectrum of skills. These reasons make it difficult to map out a career path that will lead to the development of a complete Software Developer. In this article, I intend to lay out what I feel is a solid career outline for a Software Developer, and why each step is important.

Read More

Getting Started with GraniteDS, Spring, and Maven

January 22, 2010

This is a quick tutorial to get you up and running using GraniteDS, Spring, and Maven. My initial assumptions are that you already have a Spring project up and running using Spring WebMVC, and you want to add GraniteDS to the project to enable a Flex client. This just covers using GraniteDS for a basic RPC call using AMF. GraniteDS does much more, but this should at least get you started.

Read More

Flex, Adobe, and alternatives to LCDS and Flash Builder

January 21, 2010

Yesterday I came across two interesting articles, both relating to alternatives to existing Adobe commercial tools in the Flex space.

Flex/Flash Builder vs. IntelliJ IDEA

The first article was about a favorite of mine, IntelliJ IDEA. I’ve been an IDEA user (some may say fanatic) for a long time, and while I’ve used Eclipse based editors when necessary, I always feel more at home with IDEA. The article is an overview of the Flex/ActionScript support available in IDEA 9. My conclusion is: while the depth of support is impressive (refactoring, code analysis), it does suffer from what I think of as ’not my primary function’ issues. Jesse’s (the author) complaints are mostly around speed, and non-intuitive configuration issues. I’m also not sure how it stacks up against some of the code generation and BlazeDS/LCDS integration features of Flash Builder 4 (which is still in beta).

Read More

Flex, Unicode, and Regular Expressions (RegEx)

January 20, 2010

The internet really helps make the world smaller, and through my open source applications I’ve enjoyed interacting with a user base that includes many people from outside the United States. iTunes Export has seen adoption in many countries and has challenged me to continually think about internationalization (i18n) issues, from providing the application in multiple languages (English and French today) to handling character sets not traditionally seen in American music. Which brings me to the current challenge.

Read More

iTunes Export 2.2.0 Released

January 20, 2010

The 2.2.0 release features updates and bug fixes to the console and GUI versions

In both versions:

  • Added option to exclude ‘Built In’ playlists, including Music, Library, Genius, Movies, etc. For the GUI version:

  • Added auto-update functionality. Checks for a new version every 7 days. Can be disabled in the ‘About’ window.

  • Resolved issue where Finish button causes error on ‘Select Playlist’ screen. Finish button is now disabled on this screen.

    Read More