To begin, we need a suitable Dojo project in the workbench. To create a new project with Dojo capabilities, select File > New > Project > Web > (Dynamic Web Project | Static Web Project). The project name is required as well as a suitable target server runtime. If a server runtime has not yet been defined, a new one can be defined by selecting the New button next to the Target runtime combo box, or by selecting Window > Preferences > Server > Installed Runtimes. On the second project wizard page, make sure that the Dojo facet is selected before pressing the Finish button.
Once a Dojo project has been created, the project will contain all the necessary Dojo artifacts to develop a Dojo web application. The Dojo runtime artifacts will be located under the web root of the project within the dojoAjax directory.
Related tasks
Adding AJAX to an existing Project