+

Search Tips   |   Advanced Search

Develop web applications

Learn about selecting tools for developing web applications.

Design a web application and the required components.

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

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


Tasks

  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 us to reference the j2ee.jar file in the product directory:

    • <install_root>\dev\JavaEE

    • (iSeries) app_server_root/dev/JavaEE

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

    javac -classpath D:\WebSphere\DeploymentManager\dev\JavaEE\j2ee.jar MyServlet.java
    

    (iSeries) To compile that same servlet on WAS for i5/OS™, Network Deployment, specify:

    javac -J-Djava.version=1.5 -classpath app_server_root/dev/JavaEE/j2ee.jar MyServlet.java 
    
    

  3. Optionally disable JavaServer Pages (JSP) runtime compilation, if necessary.


What to do next

Assemble the application components in one or more web modules.


Subtopics


Related:

  • Development and assembly tools
  • Web applications
  • Enterprise (Java EE) applications
  • Servlets
  • JavaServer Pages
  • Class loaders
  • JavaServer Faces widget library (JWL)
  • Configure for JavaServer Faces 2.2
  • Assembling web applications
  • web.xml file
  • Default Application
  • JSP run time compilation settings
  • Custom property settings