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.
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 one of the following
templates to use as a starting point to create your Web 2.0-enabled
web project:
- Dojo Toolkit
- Simple
- 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.
- 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.
- Add the Web 2.0
features to your web project:
- Click Change Features to open the Project Facets window.
- 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.
- Click Finish to create your web project.
- Installing the WebSphere Application Server Feature Pack for Web 2.0
The WebSphere® Application Server Feature Pack for Web 2.0 provides a supported open Asynchronous JavaScript and XML (AJAX) development framework that uses existing SOA and Java EE assets to deliver rich internet applications. - Creating Dojo-enabled web projects
Dojo-enabled web projects hold all of the web resources that are created and used when developing a Dojo web application. - Web 2.0 features
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.
Related concepts:
Related tasks:
Feedback