Before we can see the power of using caching services, we need to define a cache connection.
In the Railo (Server and Web) Administrators, you can create and manage cache instances. Railo Server allows you to create as many instances as you need. The concept is similar to the creation of a datasource connection under Services/Datasource.
Let's go and create a cache connection:
1. Head to the Railo Web Administrator by going to
http://localhost:8888/railo-context/admin/web.cfm
2. Log in if you have not already done so, and then click on the Cache link under Services. You will see something similar to the following screenshot:
Out of the box, Railo Server provides the options to create a RamCache or an EHCache Light Cache Connections. RamCache is the default cache implementation for Railo Server. Let's create a Cache connection by giving it a name (without spaces and special characters). Let's call it myCache and select the RamCache connection. Click...