![]() ![]() ![]() |
||
|
The term application can mean many things. An application can be as simple as a guest book or as sophisticated as a full Internet commerce system with catalog pages, shopping carts, and reporting.
n application, however, has a specific meaning in Macromedia ColdFusion MX. A ColdFusion application has the following characteristics:
cfapplication
tag.What appears to a user to be a single application (for example, a companys website), might consist of multiple ColdFusion MX applications.
ColdFusion MX applications are not J2EE applications. If you do not specify an application name in your Application.cfc file or cfapplication
tag, however, the Application scope corresponds to the J2EE application servlet context.
ColdFusion MX applications end when the application has been inactive for the application time-out period or the server stops. When the application times out, ColdFusion MX releases all Application scope variables. You must, therefore, select a time-out period that balances the need for clearing Application scope memory and the overhead of recreating the scope. A typical application time-out is two days.
ColdFusion MX applications and sessions are independent of each other. For example, if an application times out while a users session is active, the session continues and the session context, including the users Session scope variables, is unaffected by the application ending and restarting.
Although there are no definite rules about how you represent your web application as a ColdFusion application or applications, the following guidelines are useful:
This chapter describes the tools that ColdFusion MX provides to create an application, and presents information on how you can develop and optimize your application.
|
||
![]() ![]() ![]() |