Before you can use Web transactions in your EGL project, you must add support
for Web transactions to your project. There are two ways to add support for
Web transactions to your Web project:
- Create a new EGL Web project and select the EGL support with
Legacy Web Transaction check box on the Features page of the New
EGL Web Project wizard.
- Add Web transaction support to an existing EGL Web project.
To add support for Web transactions to an existing EGL Web project,
follow these steps:
- In the Project Explorer view, right-click the EGL Web project and then
click Properties. The Properties window opens.
- In the Properties window, click Web Project Features.
- Select the EGL support with Legacy Web Transaction check
box.
- Click OK.
Adding support for Web transactions makes the following changes to the
project:
- Jar files that control the EGL gateway servlet are added to the folder
WebContent\WEB_INF\lib. These files are also added to the project's Java™ build
path.
- JSP and GIF files are added to the project's WebContent folder.
- Files that set properties for the gateway servlet are added to the folder
JavaResources\JavaSource.
- The gateway servlet is registered in the Web configuration file.
You can not remove support for Web transactions from a project.
Related tasks
Configuring a project to run Web transactions
Related reference
Gateway servlet parameters
Linkage properties