WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

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:
  • You can use one of the available integrated development environments (IDEs). IDE tools automatically generate significant parts of the servlet and JavaServer Pages (JSP) code, and Hypertext Markup Language (HTML) files. They also contain integrated tools for packaging and testing the Web application components. The Rational Web Developer product, included with IBM WebSphere Application Server Express, is the recommended IDE. For more information, see the documentation for that product.
  • If you decide to develop Web components without an IDE, you need at least an ASCII text editor. You can also use tools available in the Java Software Development Kit (SDK) and in this product to assemble, test, and deploy the Web application components.

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. (Optional) Disable JavaServer Pages (JSP) runtime compilation, if necessary.

What to do next

Assemble the application components in one or more Web modules.



Sub-topics
JavaServer Faces

Related concepts
Web applications
Enterprise (J2EE) applications
Servlets
JavaServer Pages
Class loaders

Related reference
web.xml file
Default Application
Disabling JavaServer Pages run-time compilation
Custom property settings
Web applications: Resources for learning

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tweb_dev.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)