Creating web projects for mobile devices
Web projects hold all of the resources that are created and used when developing a mobile web application.
Procedure
- In the Enterprise Explorer view, right-click and select New > Web Project.
- In the Name field, enter a name for your new web project.
- From the list of project templates, click Dojo Toolkit.
- In the Programming
Model section, specify one of the following programming models to
use when creating your project:
- To develop your web application using only Javascript, HTML, Dojo, and CSS, click Client-side only (HTML, JavaScript). Server-side programming is not available with this option.
- To use Java™ EE technologies such as Servlets, JSPs, or JPA to develop your web application, click Java EE.
- To configure your new web project, click Next. The available configuration options depend on the programming model you selected.
- If you are using the Java EE programming model, proceed to step 7. If you are not using the Java EE programming model, jump to step 9.
- From the list of available configuration options, click Deployment.
- From the Target
Runtime list, select the run time to use at build time
to compile your new web project. Note: If the target run time was previously set, this list is not available. Complete one of the following steps to make this list available:
- Specify a new EAR project name and then select a target run time.
- Select an existing EAR project from the list that uses the target run time that you want to use.
- From the list of available configuration options, click Dojo Toolkit.
- Specify that you want to install only the Dojo mobile components
of the Dojo Toolkit:
- Click Change these setup options and then click Next to proceed to the second page of the wizard.
- Expand the Select the Dojo components to be included in the project section and ensure dojo is selected. Clear other components.
- Expand dojox and select mobile.
- Click Finish to install the Dojo mobile components.
- Click Finish to create your web project.
Parent topic: Creating web projects

