Exceptions and Amazon.com
The March issue of Java Developers Journal has a great article on anti-patterns concerning exceptions (not published online yet). After reading it, I can see I need to improve my exception handling, as I'm tossing a DAOException in my database layer, and a plain ol' Exception in my services layer. Since all my services layer does is convert object types -> strings (and executing business rules), I should probably change it to throw a generic BusinessException and a ConversionException. Too bad there's no link, hopefully soon.
In other news, we stopped by Barnes and Nobles for a Starbucks today. While there, I noticed a book my sister gave me for Christmas and I said to Julie, "I should read that sucker while you're gone next week." She sheepishly admitted that she'd sold it on Amazon a few weeks ago! Since it was a gift (from my sister), and I really do want to read it, I decided to buy it. The line was long and slow, so rather than buying it there, I used my phone and bought it online from Amazon. I searched, selected, logged in and I was done. They had a great message after logging in:
Yes, it really was that easy. Your order will be shipped to your one-click address.
Fricken sweet! The Internet Rocks and it's only gonna get better...