Sharing data between ColdFusion and Java EE

Source: Internet
Author: User
Tags websphere application server

In the past, ColdFusion and WebSphere were not a pair of favoured combinations. However, with the advent of ColdFusion MX, this situation has changed. This article will show developers how to configure their ColdFusion code into a websphere application Server Java environment.

Introduced

ColdFusion Markup Language (CFML) is a very easy to learn scripting language. The program design model based on ColdFusion tag takes into account the need for fast network development, and the simplicity inherent in the model makes Internet application development possible for the vast majority of developers.

In this article, we will describe the Macromedia ColdFusion for IBM WebSphere Application Server (application Server for short) MX can share session variables between ColdFusion and Java EE components. We will describe how to make these two powerful products the best combination.

This article describes how to configure the ColdFusion MX, and application server to share session data.

Use the ColdFusion MX administrator interface to enable it to use session memory variables

Before you begin, make sure that the ColdFusion MX for IBM WebSphere Application Server is running.

1. Log in to the ColdFusion MX administrator interface, using one of the following methods:

O Select Start > Program > Macromedia ColdFusion mx java ee > ColdFusion mx Administrator, or

o Open a browser, enter

Http://<server:port>/<cfmx_contextroot>/CFIDE/administrator/index.cfm

O For example, http://localhost/cfmx/CFIDE/administrator/index.cfm

2. From the ColdFusion MX administrator interface, select the memory variable (Memory Variables) from the server settings in the main menu, as shown in Figure 1:

Figure 1: Selecting the memory variable from the server settings

3. In the next panel, ensure that the use of Java session variables (using the Java EE conversation variable) and the Enable session variables (allowing the use of sessions variables) are selected, as shown in Figure ⒉. Click Submit Changes (commit changes) to apply the changes you have made.

Figure 2 allows you to use the Java EE session variable

4. Restart the ColdFusion MX for IBM WebSphere Application Server.

Congratulations, you have successfully allowed the use of Java EE Session management.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.