O'Reilly logo

Railo 3 Beginner’s Guide by Mark Drew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - creating our own extension provider

We created the Railo Extension famousquotesinstaller.zip, which we now have on our local computer. How can we add and share the extension within Railo Server? This can be achieved by using the Extension Provider system. This is a system unique to Railo Server, where you can easily share extensions with other Railo Server users.

We only need to create one CFC file, which will be serving our extensions for us, and provides some details about itself.

  1. At the root of our <Railo Install Directory>/webroot2/ folder, create a file named ExtensionProvider.cfc, with the following content:
    <cfcomponent output="no"> <cffunction name="getInfo" access="remote" returntype="struct" output="no"> <cfset var info ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required