[Version 5.0.1 and later]Developing Web applications

Before you begin

Design a Web application and the components that it needs.

For general Web application design information, see "Resources for learning."

Why and when to perform this task

There are two basic approaches to selecting tools for developing Web applications:

The following steps support the second approach, development without an IDE.

Steps for this task

  1. If necessary, migrate any pre-existing code to the required version of the servlet and JSP specification.
  2. Write and compile the components of the Web application.
    To access classes that were extended, compile your code using the -classpath option on the javac compiler. This option allows you to reference the j2ee.jar file in the product <install_root>\lib directory.

    For example, to compile a servlet running on the Windows NT version of WebSphere Application Server, specify:

    javac -classpath D:\Program Files\WebSphere\AppServer\lib\j2ee.jar MyServlet.java
    

    To compile that same servlet on the Windows NT version of WebSphere Network Deployment, specify:

    javac -classpath D:\Program Files\WebSphere\DeploymentManager\lib\j2ee.jar MyServlet.java
    

  3. [Version 5.0.1 and later](Optional) Disable JavaServer Pages (JSP) runtime compilation, if necessary.

What to do next


Related concepts
Web applications
Enterprise applications
Servlets
JavaServer Pages files
Bean Scripting Framework
Class loaders
Related reference
web.xml file
Default Application
Disabling JavaServer Pages run-time compilation[Version 5.0.1 and later]
JavaServer Pages attribute assembly settings[5.0 only][Version 5.0.1][Version 5.0.2]
Custom property settings
Web applications: Resources for learning



Searchable topic ID:   tweb_dev
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tweb_dev.html

Library | Support | Terms of Use | Feedback