Creating a BTT HTML Channel application project

To create a BTT HTML Channel application project, do the following steps:
  1. In RAD, open the J2EE or the Web perspective.
  2. Click File > New > Project.... The New Project wizard opens.
  3. Expand BTT folder, select Channel Application Project, and then click Next .
  4. In Channel Type Group of New Channel Application Project, select HTML type and follow the instructions in Creating a BTT channel application project. Click Finish to create the skeletons of HTML Channel Application Project.
The generated HTML channel project has the following files:
Screen capture showing the files of generated HTML channel project.
Because Html HelloWorld is embedded into HTML Channel Application Project, you can run HTML Channel Project in WAS 6.1 easily after simple configuration. To run HTML Channel Project in WAS 6.1, perform the following steps:
  1. Right-click the newly-created CCL project and select Properties from the pop-up menu. The Properties dialog opens.
  2. Select Java Complier from the component tree on the left-side hand of the panel. In the JDK Compliance section, change the Compiler compliance level to 1.5.
    Screen capture showing modification of Compiler compliance level
  3. Expand Java Editor and select Project Facets from the component tree on the left-side hand of the panel. In the Project Facets section, change the Java version to 5.0.
    Screen capture showing modification of JAVA version
  4. Click OK.
  5. Deploy <EAR Name>.ear file to WAS 6.1, and you can enter the URL http://<Server IP>:<Port>/<HTML Name>/EstablishSession to run the HTML Channel Project.