Chapter 12: ColdFusion Portlets
You can now build your own portlets by leveraging Adobe ColdFusion components (CFCs). You can create your own
portlet using ColdFusion and run it on:
• JBoss portal server
• WebSphere portal server 6.1
Run a ColdFusion portlet on JBoss Portal Server
You can run and access ColdFusion portlets on a JBoss portal server, which can be either local or remote.
• A local host: A portal can access portlets on the same computer where JBoss Portal server exists.
• A remote host: A portal can access portlets deployed on a remote ColdFusion server instance.
Prerequisites
Before you start developing ColdFusion portlets, you must:
• Install JDK 1.5.x.
• For JSR-168, install bundled version of JBoss 2.6.7 or 2.6.8 portal server and JBoss 4.2.3 Application server. For JSR-
286, install bundled version of JBoss 2.7.2 portal server and JBoss 4.2.3 Application server.
• Deploy ColdFusion on JBoss application server.
• Enable the J2EE sessions in ColdFusion Administrator.
Build a portlet for a local server
To write a ColdFusion portlet:
Create a CFC that extends the
1
For example, the following
methods:
CFIDE.portlets.ColdFusionPortlet
extends this package and defines the
HelloPortlet.cfc
Last updated 8/5/2010
package.
and
doView()
899
doHelp()
Need help?
Do you have a question about the COLDFUSION 9 and is the answer not in the manual?