Posts Tagged ‘Java’

Yummy Mail! MailSlurper Released!

Posted: 2nd September 2010 by Adam Presley in Development, Java
Tags: , , ,

That’s right, I said it. MailSlurper, the mostly useless mail SMTP server has been released! Not only does it slurp your mail into oblivion, but you can see those doomed emails in an administrative interface now. Woo hoo! Check out the How To guide and download it today!!

Creating a SMTP Mail Server for Development

Posted: 20th July 2010 by Adam Presley in Development, Java
Tags: ,

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 so that emails generated by [...]

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 she’s trying to do something [...]

Download A File From a URL in Java

Posted: 9th July 2010 by Adam Presley in Development, Java
Tags: ,

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 a few minutes of digging [...]

ColdFusion is a great language in its own right. What makes it even more awesome? The fact that it is a Java application. Why is this cool? Because you can dig into Java to do all the dirty stuff ColdFusion shields you from, should you desire to do so. While writing this profiling code this [...]

Round Robin Display of Data – Java Style

Posted: 17th November 2009 by Adam Presley in ColdFusion, Development
Tags: , ,

In my daily blog reading I came across Mr. Ray Camden’s blog post about rotating a grouped set of data in a “round robin” fashion. In his example he uses a multi-dimensional array, then uses ColdFusion to iterate over the array, copy the item to move, delete it, them push it to the end of [...]

Today I had to work on a bit of code that dealt with trying to tie in merchandising promotions against a shopping cart. This code I’m working with is pretty old, so it’s kind of like trying to make a paper airplane out of the Constitution. :/ My boss is working on one part of [...]

Removing Duplicate Array Items in ColdFusion

Posted: 22nd October 2009 by Adam Presley in ColdFusion, Development
Tags: , ,

If you’ve ever had the need to quickly remove duplicate items in an array you might find yourself resorting to the old loop method. This involves looping over the input array, then further looping over a result array, checking to see if you’ve already inserted the input value, and if not, inserting it. That’s a [...]