20030308 Saturday March 08, 2003

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... Posted in Java at Mar 08 2003, 09:18:48 PM MST Add a Comment

Comments:

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architecture Consultant specializing in open source frameworks.
« May 2012
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29
30
31
  
       
Today

Recent Entries

Tag Cloud