tags:

views:

232

answers:

4

Is there a coldfusion analog for the deployment descriptor/web.xml file found in a jee web container? I know CF is running on top of JRun and that I could just tweak the jrun dd, but what about an application specific configuration file? Is there something like this that I'm not aware of or do you just have to roll your own?

+1  A: 

ColdFusion 8 has several application-specific configurations that can be set in the application.cfc file

application.cfc also implements several "general events" which occur during application execution.

Adam N
Yeah, I'm using an app.cfc but I'm looking for the something that gives me the declarative-ness that web.xml or (web.config ala .ne-e-e-et)
RG
+1  A: 

You might check this posting on Application.cfc http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm.

And if you are not using a version of Coldfusion that has Application.cfc available you will need to look into Application.cfm which is implemented quite a bit differently then Application.cfc.

Jeremy Reagan
+1  A: 

there is a jrun.xml file that allows for some configuration. It is available in CF7 and CF8. I have only done small tweaks to this file e.g. bind ip address to CF instance.

SWD
A: 

ColdFusion provides client and server deployment descriptor files located in \ColdFusion8\wwwroot\WEB-INF. The files are client-config.wsdd and server-config.wsdd respectfully

Dmitriy