Sorcerer's Tower

Java RegEx Utilities - v0.7 preview

Java RegEx Utilities, or jre-utils, is a CFC which provides a convenient way to access Java's regular expression functionality.

Whilst ColdFusion, Railo, and openBD are all built on Java, and CFML does have regular expression functions, they do not actually use the Java regular expression engine, which supports many useful regex constructs.

The purpose of jre-utils is to provide this extra power to CFML developers in a familiar and easy to use way.

I will shortly be releasing v0.7 of jre-utils, which adds a number of new functions, as well as making things more consistent, so I decided I would give this quick preview of what it contains.

Open Source Railo

Earlier today, the eagely awaited Railo 3.1 public beta was announced!

And the reason for much of this eagerness?

Railo is now Open Source and Free Software, released under the LGPL v2.

This license requires that any changes to Railo's sourcecode itself must also be released under LGPL v2 (or later version).

However, unlike the full GPL, it does not require that you release any packaged applications under a compatible license - so you can still use whatever license you like for your own CFML code, Open Source or otherwise.

Along with the announcement comes two new Railo websites: The commercial-oriented getrailo.com and the community-oriented getrailo.org, which also contains wiki-based documentation.

Details on updating this documentation, as well as information about the new features in Railo 3.1, will come later this week - stay tuned to the Railo blog for the latest details.

The next four months are going to be a very exciting time for Railo and CFML!

Why Railo 3?

It's been nearly half a year since Railo 3 was released, and with 3.1 just around the corner it is a good time to write a post about some of the features that continue to make Railo such an excellent CFML engine!

This blog entry covers things new to Railo 3 - however, if you've not looked at Railo before, you should also look at my previous postings, as they are still valid:

This blog entry gives ten reasons for using Railo 3...

Switch on String in Java

For anyone working with any other modern language, (such as CFML, C#, JavaScript, Ruby, and more), using a String within a switch-case statement is not an issue, and probably something you've done many times without thinking about.

However, when working in Java you cannot use strings in a switch statement.

Fortunately, despite what many sites suggest, there is a solution.

Creating my very first Eclipse Plugin

I recently* completed my very first Eclipse Plugin, and I found the whole experience to be very interesting.
*(well about a month ago; took me longer to get writing this than intended)

This blog entry will focus on two main areas - my experience with Eclipse (as opposed to CFEclipse and similar), and the issues I encountered from a development perspective

Read on to find out about it.