The testing
and publishing tools provides runtime environments where you can test JSP
files, servlets, HTML files, enterprise
beans and Java™ classes.
You can use the workbench to test and publish resources
from the following types of projects:
- Dynamic Web projects, which typically contain JSP files, HTML files, servlets,
and JavaBeans™
- Static Web projects, which typically contain HTML files and graphic files
- Enterprise Applications projects, which may contain Java Archive
(JAR) files or Web Archive (WAR) files or both, and pointers to other Web
or EJB projects
- EJB projects, which contain enterprise beans
- Application client projects
After testing your application locally, you can use the
tools to publish the application.
Supported runtime environments
The server tools
provided in this product allow you to test your applications in different
local or remote runtime environments. Where indicated, you can also use the
tools to publish to these environments:
- WebSphere test environment. One or more versions
of the WebSphere® Application
Server runtime environment, which you can use to test your applications directly
from the development environment. Each test environment provides all the function
of the full runtime environment, but eliminates dependencies on network connections.
The WebSphere test
environment is described in more detail as another topic in this documentation.
- WebSphere Application Server. You can also test
on and publish to one or more separately installed versions of WebSphere Application
Server that reside either locally or on a remote machine. For WebSphere Application
Server v5.11,
you must install Agent Controller on the same machine that WebSphere Application
server resides on. For WebSphere v6.x server, you must run the WebSphere File
Transfer servlet application, filetransfer.ear. This
application is installed and started on the WebSphere v6.x server by default.
- Apache Tomcat2. You can
test on the Apache Tomcat runtime environment, running locally. With Tomcat,
you can only test Web projects that contain servlets and JSPs. For more information
on Tomcat, go to jakarta.apache.org/tomcat
- Static Web publishing server. You can publish static
Web projects to an HTTP Web server.3
- J2EE publishing server. You can publish J2EE projects
to a generic J2EE server.
Specification level summary
The Server Tools provides
the appropriate server selection based on the what J2EE specification level
you have defined for your J2EE artifacts and the supported servers for this
product. The following table summarizes the specification level each server
supports:
Table 1. Summary of the server's specification level supportServer |
J2EE Specification
Level |
v1.2 |
v1.3 |
v1.4 |
WebSphere v6.x Server |
Supported |
Supported |
Supported |
WebSphere v5.1 Server and Test Environment |
Supported |
Supported |
Not supported |
WebSphere Express v5.1 Server and Test Environment |
Supported, but does not support EJB modules |
Supported, but does not support EJB modules |
Not supported |
J2EE Publishing Server |
Supported |
Supported |
Supported |
Static Web publishing Server* |
Not supported |
Not supported |
Not supported |
Tomcat v5.5 Server |
Only supports Web modules |
Only supports Web modules |
Only supports Web modules |
Tomcat v5.0 Server |
Only supports Web modules |
Only supports Web modules |
Only supports Web modules |
Tomcat v4.1 Server |
Only supports Web modules |
Only supports Web modules |
Not supported |
Tomcat v4.0 Server |
Only supports Web modules |
Only supports Web modules |
Not supported |
Tomcat v3.2 Server |
Only supports Web modules |
Not supported |
Not supported |
*Static Web publishing servers supports only static Web modules.
Server definitions
The
server tools use servers to test and publish your projects.
Servers are definitions that identify where you want to test your projects.
You can either have the development environment create the servers automatically
for you, or you can create them using a wizard.
1 WebSphere Application
Server v5.1 test environments and servers are not available in WebSphere Application
Server Toolkit V6.1.x, but available in products such as Rational
® Application
Developer V7.0.x or Rational Software Architect V7.0.x. WebSphere Application
Server Toolkit v6.1.x supports only WebSphere Application Server v6.1.
3 Static Web publishing servers are not
available in WebSphere Application
Server Toolkit V6.1.x, but available in products such as Rational Application
Developer V7.0.x or Rational Software Architect V7.0.x