To create a new module:

  1. In the WSAD, select File > New > Project.

  2. In the folder list, select Java > ATG Wizards > New ATG Module.

  3. Click on Next.

  4. Enter a name for the module.

  5. In the ATG Installation: Root Directory field, enter your <ATG2007.3dir> directory. If you check Save as Default, this directory is used as the default root for all other ATG applications created in this workspace.

  6. Click on Next.

  7. If your application requires additional ATG applications (Portal, Commerce, etc), click the Add… button and add them from the dialog box. For typical J2EE applications only the ATG Adaptive Scenario Engine is needed.

  8. Click Next.

  9. To add additional modules to your own module, click the Add… button and select modules from the dialog box. For typical J2EE applications, only DAS, DPS, and DSS are needed.

  10. Leave the default Configuration Directory as config.

  11. Click Next.

  12. On the Source tab, select the displayed folder and click the Remove button.

  13. Click Add Folder….

  14. On the popup, make sure that Folder as source folder is selected, and specify a name (such as src) for your Java source folder.

  15. Click OK. (You may see an error, which is resolved in the next step.)

  16. Add \classes to your module name in the Default Output folder field.

  17. Click on Next.

  18. Enter a name for your J2EE application. It is good practice but not necessary to include the .ear extension.

  19. Enter a name for your Web application. Do not include the .war extension.

  20. Specify a context root. This will be added to your application.xml and web.xml.

  21. Click the Add… button to specify the application servers you will run on.

  22. Click on Finish.

 
loading table of contents...