To set the project's J2EE settings, or to specify the target
runtime server for the project, click the
Show Advanced >> button.
Note: By
selecting a WebSphere Portal version value above, both Servlet
version and Target server are set to the
appropriate values. Editing these two fields is not recommended.
Supply
any of the following values:
- Servlet version
- Specifies the version of the Servlet and JSP specifications to be included
in your portlet application. Version 2.3, the default,
includes a Servlet Specification level of 2.3 and a JSP Specification level
of 1.2. This default should be used to create portlet projects targeted for WebSphere Portal
5.0 or 5.1 servers.
Note that the servlet
version will determine the choice of target servers that appear in the drop-down
list.
- Target server
- Select the version of WebSphere Portal that your portlet application
will be installed to (either WebSphere Portal
v5.0 or v5.1).
Note: Ensure that you do not accidentally select one of
the WebSphere Application
Server options.
- Add module to an EAR project
- Deselect this check box only if you do not intend to deploy the
portlet.
- EAR project
- Name of an enterprise application project (EAR project) that the portlet
project should be associated with for purposes of deployment. The information
used to deploy the portlet project to WebSphere Portal in the test environment
will be added in this project. All portlet applications associated with a
single EAR project will run on a single session at the test environment. You
may separate portlet applications into multiple EAR projects. You should use
the same EAR project for other projects that are related.
- Context root
- A context root for the portlet project. It is used as the top-level directory
of your portlet application when it is deployed to WebSphere Portal in the test environment.
It must not be same as the ones used by other projects.
- Add support for annotated Java™ classes
- Ensure that this check box is selected if you plan on using model annotations
to generate code in your project.
If you want accept the defaults associated with a Basic
JSR 168 portlet project, click Finish. If you prefer
to customize the project options, or want to create a project that is enabled
for a different type of portlet, click Next.