Create a scheduled task that runs every minute in Railo

So, this is probably confusing to some and I thought I'd try to clear this up. It's possible to setup Railo to run a task every x hour, minute and/or even seconds. You'll want to log into your machine and go to the Scheduled Task page ( e.g.: http://{your server}/railo-context/admin/web.cfm?action=services.schedule )

[More]

Random Friday Railo tip: this.datasource

Andy Jarret recently blogged about the usage of this.datasource in Application.cfc. Just goes to show, it pays off reading the patch notes sometimes because it has been there for awhile ( since version 3.1.0.018 ):

[000059] add support for default datasource to cfapplication/application.cfc
Go visit Andy's blog post for more details on how to use this.application. :) Another brief note is that this may be changing slightly in the future, but will always support the ACF Style ( this.datasource = "[some string]" ).

Railo at CeBIT 2010

I am happy to say that at this year's CeBIT in Hannover, Germany we are joining the stand of our partners Contens and Intergral.
We are very proud that both Contens and Intergral are increasingly relying on Railo as a CFML engine. If you like to visit us, we have many new things we can show you and we might even help you with some problems. If you need any assistance from the best Railo programmers come see us in hall 6 stand J32. On one of the days Mark Drew will be there as well.

We're looking forward to seeing you in Hannover in 2 March! If you want to meet us there either contact us or fill out the form on the contens homepage.

Read the full press release by Contens.

Cache (Reference) Part 3

Before we begin the last part of the cache blog, let's do a little review.

In the first part, I have shown how the cache is used as an object cache, how to create a cache and interact with it but not more. The second part was on everything that is possible with the cache, and for what it can be used. In the last part we want to see at some special cases and deliver the promised reference.

[More]

Cache (Advanced) Part 2

In the first part of the cache blog entry we looked at how we can use the cache directly without entering into great detail. Now let's have a look at what the cache is at capable of. Because it provides much more than just storing data.

[More]

Creating your own Railo Extension Provider

It is long overdue, but a tutorial on how to create your own Railo extension provider is now available on the wiki. Why would you ever want to build your own extension provider? Perhaps you are a framework developer and you want to provide your users running Railo a 'one-click' installation / update. Perhaps you are managing several Railo servers and you want your internal servers to update to your the latest application / custom cfc / built-in-tags/functions, etc.

If you're unfamiliar with what Railo extensions are, they're essentially plug-ins that are available via the Railo team or with the help of the tutorial, you can create your own. If you want to see Railo extensions in action, you can log into your own web context ( http://{YOUR SERVER}/railo-context/admin/web.cfm?action=extension.applications ) and Railo will instantly download and install the many available frameworks (ColdBox, Fusebox, Model Glue, ColdSpring, Mach II, cfwheels, etc.) and applications ( Farcry, Mura, Galleon, Mangoblog, etc).

The Railo team also offers paid extensions (Amazon S3, cluster scope, admin sync, cfvideo and more) via the server context ( http://{YOUR SERVER}/railo-context/admin/server.cfm?action=extension.applications ).

Cache (Basic) Part 1

Since version 3.1.2 Railo supports the possibility of using a cache. This blog entry will go into the details of this feature. The blog is divided into 3 parts, the first part will deal with the base functionality, the second part show how the cache is used in backend and the last part takes care of specialties when using the cache and shows a reference.

[More]

Railo Tip: CreateObject('java')

I'm actually hesitant to post this because the Railo team is actually trying to make progress on documentation and we have some new documentation policies in place. However, I know if I don't post this and people eventually find out about it, they'll wonder why they didn't know sooner. This tip pertains to Railo's createObject('java') implementation. I'm told that it has been there for awhile, but I couldn't tell you what build it came from. I'll share the code and go from there.

<cfset object = createObject('java','path.to.package.classtoinvoke','/path/to/jar/file/on/system')>

Read that line 2 or 3 times and let it sink in a little. Yes, Railo's createObject('java') has a 3rd (and 4th) argument. This is the full documentation on this from Michael is:

createObject('java',String className,String paths, String delimiter )
- 'java' (required)
- className (required) - the full class name (class and package) of the class to invoke.
- path (optional) - a list of jar files and directory that contains class files
- delimiter (optional) - delimiter used for the path list (default is comma ",")

Sean Corfield will be presenting this to the opemcfml.org advisory board, whether it gets voted on or not remains to be seen. Also, please note that I'm making Documentation/Wiki a high priority for the year 2010.

New Year and Railo Community Project: Railo Installer

First off, I wanted to wish everyone a Happy 2010!! Almost 2 weeks late. Better late than never. ;) Railo Open Source has come a long way since the open source release on March 31st, 2009 and we hope to make 2010 even more interesting for the community.

For those of you that aren't on the mailing list, you may be unaware that Jordan Michaels of Vivio Technologies fame has stepped up to be the Volunteer Community Deployments Coordinator for Railo last month. Jordan Michaels and Andrea Campolonghi have been busy ever since getting the new Installers project up and running. Keep in mind that this is a Community effort and the Railo team is very appreciative of Jordan's time in helping the CFML Community become a better place as he's also very active with the Open BlueDragon installers as well.

Be sure to keep tabs on http://projects.getrailo.org/, you may find some interesting hosted projects now and then.

Railo is a JBoss ISV

I hope everyone knows by now that Railo is a JBoss Community project? We recently completed the JBoss ISV Partner approval process so that Railo is listed as an ISV Partner and the Railo server is listed in the ISV software catalog. This should help draw even more new users to CFML from the Java community (we already see a steady stream of Railo downloads by Java developers who have not previously used CFML)!

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner