Server-side technologies-enabled web projects hold all
of the web resources that are created and used when developing a web
application.
Before you begin
Note: If this feature is not available, install
both the JSF development tools and the WebSphere
Application Server development tools features.
About this task
The WebSphere Application
Server Feature Pack for Web 2.0 includes a rich set of libraries and
connectivity features provided on the server to assist in client development.
These 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, see The importance of the proxy for Ajax.
- Apache Abdera libraries
- Apache Abdera is an open source project that provides feed syndication
support. Abdera addresses both the Atom syndication format and the
Atom publishing protocol. You can use the Abdera libraries 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 about JSON4J, see 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
start server-side logic. The IBM® implementation
for web remoting is referred to as the RPC adapter for IBM. For more information about web remoting,
see Remote Procedure Call (RPC) Adapter.
- Web messaging service
- The web messaging service is a publish and subscribe implementation
that connects the browser to the WebSphere Application
Server service integration bus (SIB) for server-side event push. For
more information about web messaging, see Web messaging.
Procedure
- In the Enterprise Explorer
view, right-click and select .
- In the Name field,
enter a name for your new web project.
- From the list of project templates, click Simple to
use the Simple project template to create your web project.
- In the Programming
Model section, click Java EE to use the Java
EE programming model when creating your project.
- Click Next to
configure your new web project.
- 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.
- Apply the Server-side technologies feature to your web
project:
- Click Change
Features.
- Expand Web 2.0, select Server-side
technologies and click OK. By enabling the Server-side technologies feature, your web project
is configured for both development and runtime support for the WebSphere Application
Server 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.
- Click Finish to
create your web project.