27
2007
Cuteness with Commons-Http: proxies and user-agents
I’ve been wanting to add a custom User-Agent to groovyblogs.org for a while, so you know from your logs when I’m coming by to poll. It’s not easy to find sample code on this one, but the API does cover it just fine: def client = new HttpClient() def clientParams = client.getParams() clientParams.setParameter( org.apache.commons.httpclient.params.HttpClientParams.USER_AGENT, “GroovyBlogs/1.0 (http://www.groovyblogs.org)”) If you need to enable your client for proxy support too, you’ll need to add a couple of more [...]
25
2007
Transparently Feedburning Pebble with UrlRewriteFilter
I’ve been looking for a chance to play with UrlRewriteFilter for a while.. and I’ve finally found my opportunity. A colleague has been talking up FeedBurner as a very swish feed stats crunching and decoration site, so I was keen to take it for a spin. I was asking how to handle the fact that you would need all your clients to add the new feed address? He mentioned that WordPress can do this with [...]
20
2007
Less is More: Migrating from Grails 0.2 to 0.5.6
My very first grails app was a simple SMS gateway called CyaThen.com. It was mostly developed on Grails 0.1 and then later migrated to 0.2 beta before the go live in August 2006 . It’s proved very useful for SMSing workmates to remember their squash gear. Anyways, I did a rebuild on the app with Grails 0.4.2 so I could deploy it to Glassfish, but it was pretty unchanged from it’s 0.1 Grails glory. I’ve [...]
15
2007
Upgrade to Glassfish 2, slash your bandwidth usage by half
I’m a couple of days into making the switch from Glassfish v1 UR1 to Glassfish v2 beta-2 and I’ve gotta say that, even at beta level, this is a compelling upgrade. There are tons of improvements in v2 (including first class clustering support), but there were two compelling features for me personally in v2 to make me move over to the new beta: Http Compression Support Much improved Virtual Domain support The Http Compression support [...]
4
2007
Setting up a WebDAV Server on Glassfish
I’ve always wanted to have a tinker with WebDAV, but never really had a good excuse to have a look at it. Since I’ve had to get up to speed with Maven, I’ve finally had a reason to get a WebDAV server happening locally for a few developers to share a repository. Turns out that running a WebDAV server on Glassfish (or whatever app server you like) is a snack thanks to the good folk [...]
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