Creating Web 2.0-enabled web projects

Web 2.0-enabled web projects hold all of the web resources that are created and used when developing a Web 2.0 web application.


  1. In the Enterprise Explorer view, right-click and select New > Web Project.
  2. In the Name field, enter a name for your new web project.
  3. From the list of project templates, click one of the following templates to use as a starting point to create your Web 2.0-enabled web project:
    • Dojo Toolkit
    • Simple
  4. 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 use Java EE technologies such as Servlets and JPA within the OSGi programming model, click OSGi.
  5. To configure your new web project, click Next. The available configuration options depend on the programming model you selected.
  6. 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.
  7. From the list of available configuration options, click Deployment.
  8. 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.
  9. Add the Web 2.0 features to your web project:
    1. Click Change Features to open the Project Facets window.
    2. Select Web 2.0 and click OK. The Web 2.0 features define the characteristics of your Web 2.0-enabled web application. These features also specify the requirements and constraints that apply to your Web 2.0 project.
  10. Click Finish to create your web project.