30
2004
Exceptions crossing Tiers (and using ResourceBundles with Exceptions)
Well, I’ve been doing tons of reading on exception handling to try and develop a standard set of practices. I’ve got two immediate problems that I need to address and haven’t found much advice on: 1. Exceptions Crossing Tier Boundaries: Many of our systems are n-Tier and exceptions visible in the most remote layers aren’t necessarily available in the presentation tier. What to do? I want to preserve the stack trace if at all possible, [...]
23
2004
Relative URI can not be resolved without a document URI
This post is just a placeholder so I can google for this SAX error later and remember how I fixed it. You get one of these errors from SAX when you have an XML document that uses a relative reference to its DTD. So, say you’ve got a filter-config.xml which contains something like: <!DOCTYPE security PUBLIC “-//Bytecode Pty Ltd//Spam Filtering Components//EN” “filter-config.dtd” > And you’ve put filter-config.dtd in the same directory as filter-config.xml. Fair enough. [...]
22
2004
My New Java Stickpin! (and use of the Java logo)
Been there, done that, got the stick pin. I’m now officially a Java Certified Programmer – and I’ve got the card to prove it! It was certainly a fun exam, and it took me the whole two hours just to get the thing finished. I probably should have studied harder, but hey, I passed, and I’m very happy. Also learned a lot more than any man should about scope rules relating to inner classes, and [...]
21
2004
SAX, Stacks and XML Parsing Patterns
I used to be a hardcore DOM-style man, and dom4j remains my favourite XML API, but these days I’ve been doing a lot of performance and load sensitive stuff in the middle tier, which means that I tend to go for streaming solutions like XML pull and SAX. My basic lesson has been that streaming = performance. I mean, the numbers just don’t lie – we’re talking at least 3 times faster than any DOM-based [...]
13
2004
Porting my MoveableType data to Pebble
I’ve just spent the arvo moving my data over from MoveableType to Pebble, and after some gotchas it should all be good. I took a longer route than most since I had to go via phpMyAdmin to get an XML dump of my MT data first (since I don’t have shell access to the mysql box, and I can’t get to it from remote hosts). The basic operation was: Work out the naming of Pebble [...]
9
2004
New Company Logo
This year I’m really making an effort to get Bytecode’s image up to scratch as an Aussie Java company, so I’ve tracked down a sensational Aussie Web Designer – Cameron Adams to help lift our image. First stop was getting the corporate id sorted out. Cameron has put up with my incessant tweaking and come up with something that I just love. You read it first here! Check it out (the black is his recommended [...]
6
2004
Now hosting on Linode with Pebble!
I’m now hosting my blog on my own Linode which is basically a hosted Unix service where you have root access. Fantastic stuff. I’ve installed my own DNS and mail servers, an instance of Tomcat, my wiki (a JSPWiki) and now some new Java blogging software – Pebble. If you’re looking for Java hosting … and don’t mind getting dirty with a little Linux, you can’t do better than root access! Ultimate flexibility. Now, the [...]
Glen Smith
Archives
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003

An article by Glen