WAS v8.5 > Develop applications > Develop web applications

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.

  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 directory:

    • <install_root>\dev\JavaEE

    For example, to compile a servlet for WebSphere Application Server on Windows, specify:

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

  3. Optionally disable JSP runtime compilation, if necessary.

Assemble the application components in one or more web modules.


Subtopics


Related concepts:

Development and assembly tools
Web applications
Enterprise (Java EE) applications
Servlets
JSP
Class loaders


Related


Migrating web application components from WAS v5.x
Assemble web applications


Reference:

web.xml file
Default Application
JSP run time compilation settings
Custom property settings
Web applications: Resources for learning


+

Search Tips   |   Advanced Search