WAS v8.5 > End-to-end paths > Web applications

Tasks: Develop and deploy web applications

A developer creates the files comprising a web application, and then assembles the web application components into a web module. Next, the deployer (typically the developer in a unit-testing environment or the administrator in a production environment) installs the Web application on the server.

  1. Migrate existing web applications to run in the new version of WAS.

  2. Design the web application and develop code artifacts

    Disable session state of JSPs Pages files using...

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

    ...instead of...

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

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

  3. Develop the Web application

  4. Assemble the web application into a web module using an assembly tool.

    Properties might include the ability to:

    • Configure servlet page lists.

    • Configure 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 applications 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 containing the web application.

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

  6. Optional: Troubleshoot the web application.

  7. Optional: Modify the default web container configuration in the application server in which you deployed the web module or application module containing the web application.

  8. Optional: Manage the deployed web application.


Subtopics

  1. Web applications
  2. Web modules
  3. web.xml file
  4. Default Application
  5. Servlets
  6. Develop servlets with WAS extensions
  7. Configure JSP engine parameters
  8. JSP
  9. Develop web applications
  10. Modify the default web container configuration
  11. Assemble web applications
  12. Secure applications during assembly and deployment
  13. Define an extension for the registry filter
  14. Migrating web application components from WAS v5.x
  15. Tune URL invocation cache
  16. Web application deployment troubleshooting tips
  17. Web applications: Resources for learning
  18. Develop servlet applications using asynchronous request dispatcher


Related concepts:

Enterprise (Java EE) applications


Reference:

JSP troubleshooting tips


+

Search Tips   |   Advanced Search