Task overview: Develop and deploy Web apps


 

+

Search Tips   |   Advanced Search

 

  1. (Optional) Migrate existing Web apps
  2. Design the Web app and develop its code artifacts:

    Disable session state JSPs using...

    <%@ page language="java" contentType="text/html" session="false" %>

    ...instead of...

    <%@ page language="java" contentType="text/html" %>

    Replace setProperties calls in JSPs with direct calls to the appropriate setxxx methods.

  3. Develop the Web app, using WAS extensions to enhance functionality.

  4. Assemble the Web app into a Web module using an assembly tool. Web module assembly properties might include the ability to:

    • Set servlet page lists.

    • Set servlet filters.

    • Serve servlets by class name.

      Serving servlets by name or class name is triggered by setting the serveServletsbyclassnameEnabled property within IBM extensions.

      Use the invoker.patterns attribute to specify the patterns that trigger invocation of the server component and allows the serving of servlets by name or by class name. This value is a list separated by either a space, colon, or semicolon.

    • Enable file serving.

      In file serving, Web apps can serve static file types, such as HTML. File-serving attributes are used by the servlet that implements file-serving behavior.

  5. Deploy the Web module or application module that contains the Web app.

    Following deployment, we might find it handy to use the tool that enables batch compiling of the JSPs for quicker initial response times.

  6. (Optional) Troubleshoot your Web app.

  7. (Optional) Modify the default Web container configuration in the appserver in which you deployed the Web module or application module containing the Web app.

  8. (Optional) Manage the deployed Web app.


Web apps Web modules
web.xml file
Default Application
Servlets
Develop servlets with WAS extensions
Set JSP engine parameters
JSPs
Develop Web apps
Modify the default Web container configuration
Assemble Web apps
Secure applications during assembly and deployment
Define an extension for the registry filter
Migrate Web app components from WAS V5.x
Tuning URL invocation cache
Web app deployment troubleshooting tips
Web apps: Links
Develop servlet applications using asynchronous request dispatcher

 

Related concepts

Enterprise (Java EE) applications

 

Related

JSPs troubleshooting tips