Adam.Blog()
Adam Presley's blog
Thoughts on the Demise of the CFML Advisory Committee
Today was a busy news day for me. Most of it just personal stuff, but the story of the day in the world of ColdFusion is the departure of Adobe, or more specifically Adam Lehman, from the CFML Advisory Committee. I say it’s big news, but it seems to me...
Creating a SMTP Mail Server for Development
While working on ColdFusion applications with Railo on Tomcat I have been piecing together tools necessary to get these applications to do everything I need them to do. So I’ve bolted on Hibernate, a URL rewriter, and so on. Now I found myself needing an SMTP server of some type...
Display Repeating Permutations of a Number Set in Java
At home my daughter has a little “spy” safe where she can keep money, rocks, or whatever else she wants in there. This safe is guarded by a passcode, and when you enter the passcode incorrectly twice it makes an alarm sound. Real cute. I am always stopping by when...
Experimenting with SQL to JSON in SQL Server 2008
In the last couple of days at work my friend Adrian (@iknowkungfoo) and I (@adampresley) have been tossing around how we can improve performance on various portions of the application we work on. On of the trouble areas has always been large query sets that then have to be transformed...
Download A File From a URL in Java
I was approached tonight with a question on how one could download a file from a specific URL in Java. I had never done this in Java before, but I have done this very same task in C#, so I figured it couldn’t be too different of a solution. After...
Parsing XML in Groovy
I’ve been doing a little more work with Groovy lately, and it still continues to impress me on how expressive and easy some things are to do in this language. Last night I was working with a web service that returns XML and I needed to parse this XML response...
SES URLs With Mura on Tomcat
Tonight as I’m setting up a new server I wanted to make sure I had URL rewrite ability. Normally this is no issue as I use Apache for most anything web server related. However this time I am setting up a Mura site on Railo running on Tomcat. And yes,...
Dallas TechFest 2010
Yesterday I had the pleasure of attending and speaking at Dallas TechFest 2010. I presented on taking an existing ColdFusion application and spicing it up incrementally using jQuery, the hottest JavaScript library around. The micro-conference; I suppose you can call it that, was a lot of fun. I attended some...
Grouping Structures in Groovy
A useful tidbit for those interested in playing around with Groovy. I had need recently to take a structure, or more Groovy-like, a Map, and group by a particular key, and iterate over the grouped items. Turns out to be quite easy in Groovy. Let’s see an example of such...
Update: ANT to Automate Build Version Number
In a previous post Using ANT to Automate a Build Version Number I talk about incrementing build numbers using ANT. I found this particularly useful when building Mura plugins. Thanks to Steve Good for pointing out a little issue where if you wish to use the build number in naming...