Creating a HATS project
Begin on the Welcome page. If the Welcome page is not displayed, click the
Open HATS Welcome Page icon
on the main toolbar.
- Expand the Create your first project section.
- Click the link to launch the Create a Project wizard.
- On the HATS Project page:
- Type the name of the project you are creating.
- Type a description of the project. This is optional. You can keep notes here or use it however you want.
- Leave the Use default location check box selected.
- In the Deployment section select whether the project is for a
Web application or a rich client application.
Note:If the Web deployment option is disabled, this indicates that no server runtimes are defined. To define server runtimes, go to Window > Preferences > Server > Installed Runtimes and add at least one runtime definition.
- Web
- Select the target server you want to use for your application.
- Supply a name to use for the Enterprise application (.ear file) project or take the default.
- The Portlet API selection is only active if a WebSphere® Portal server is selected
for the target server. Note:For information about creating a HATS portlet project, see the section, Creating HATS portlets, in the WebSphere Portal and HATS.
- Leave the Optimize options for mobile
devices check box cleared. Note:For information about creating a HATS Web project optimized for mobile devices, see the section, Developing HATS applications for mobile devices, in the Developing HATS applications for mobile devices.
- Select Use Dojo technology if you want to use Dojo widgets in this project.
- Leave the Add administration console support check box selected.
- Rich client
- Accept the Plug-in ID and Plug-in version defaults.
- Select the target platform.
- Web
- Click Next.
- On the Connection Settings page:
- Type the name of the Telnet or WebFacing server to use to access the host application. This can be a host name, a domain name (such as myhost.mycompany.com), an alias, or an IP address.
- If your host application uses 3270 protocols, select the 3270 or 3270E connection type depending on the functions required by the application. For example, printing support requires the 3270E connection type. If your host application uses 5250 protocols, select the 5250 connection type if it is accessed through a 5250 Telnet server. Select the 5250W connection type if it is accessed through a WebFacing server.
- Select the port, code page and screen size.
- Click Next.
- On the Project Theme page, select the overall appearance and behavior you want for the application. You can select whether you want the application to appear and behave more like an emulator, more like a modern application, or a custom setting somewhere in between. Click Next.
- If you selected the Use Dojo technology setting
on the HATS Project page, the Dojo Project Setup page is displayed
at this point. To change the Dojo default settings, click Change these setup options. To accept the
defaults, click Next.
Note:To change Dojo settings after the HATS project is created, from the HATS Projects view right-click the project and select Properties. On the properties page select Dojo Toolkit.
- On the Default Template page, all of the templates provided with HATS are displayed. Choose one to use as a starting point for your project. Click Finish.
- A progress bar displays as HATS creates the project.
You have created a simple HATS project. Next, you will test the project using the local test environment.