Creating server side technologies enabled Web projects

Server side technologies enabled Web projects hold all of the Web resources that are created and used when developing a Web application.

Install the WebSphere® Application Server Feature Pack for Web 2.0.

The WAS Feature Pack for Web 2.0 includes a rich set of libraries and connectivity features provided on the server to assist in client development. The features include:

Ajax proxy

The feature pack provides a Servlet based forward proxy that can be used in the aggregation of content from different sites. For more information about the Ajax proxy, refer to The importance of the proxy for Ajax.

Apache Abdera libraries

Apache Abdera is an open-source project providing feed syndication support. Abdera addresses both the Atom syndication format and the Atom publishing protocol. The Abdera libraries can used on the server to read syndication feeds from other sources or to generate your own feed content for use by your widgets.

JSON4J

The JavaScript™ Object Notation (JSON4J) library is an implementation of a set of JavaScript Object Notation (JSON) handling classes for use within Java™ environments. For more information on JSON4J, refer to JavaScript Object Notation (JSON4J).

Remote Procedure Call (RPC) Adapter

Web-remoting is a pattern that provides support for JavaScript or client-side code to directly invoke server side logic. The IBM® implementation for Web remoting is referred to as the RPC adapter for IBM. For more information, refer to Remote Procedure Call (RPC) Adapter.

Web messaging service

The Web messaging service is a publish and subscribe implementation that connects the browser to the WAS service integration bus (SIB) for server-side event push. For more information on Web messaging, refer to Web messaging.

To create a server side technologies enabled dynamic Web project:

  1. In the Enterprise Explorer view, right-click and select

    New | Other | Dynamic Web Project | Next. The New Dynamic Web Project wizard opens.

  2. In the

    Project name field, type the name of your Web project.

  3. Select a Target Runtime from the drop down list.

    Note: This field will be disabled if a target runtime had been previously set. To enable this field, you can do one of the following:

    • Specify a new EAR Project Name then select a

      Target Runtime.

    • Select an existing EAR project from the list that uses the target runtime that you want to use.

  4. Click the

    Modify button beside the Configurations drop down list.

  5. On the Project Facets page, expand

    Web 2.0 and select the

    Server-side technologies check box and click OK to apply the facets.

    By enabling the server-side technologies facet, your Web project is configured for both development and runtime support for the WAS Feature Pack for Web 2.0. All of the required JAR files are added to the Java Build Path for your project and the deployment descriptor.

  6. Click Next.

  7. Click Finish.