Network Deployment (Distributed operating systems), v8.0 > End-to-end paths > Web applications


Task overview: Develop and deploy web applications


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

  2. Design the web application and develop its code artifacts:

    JSP programming tips:

    • Disable session state of JSP files using...

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

      ...instead of...

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

    • Replace setProperties calls in your JSP files with direct calls to the appropriate setxxx methods.

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

  4. Assemble the web application into a web module using an assembly tool 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 that contains 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. Troubleshoot your web application.

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

  8. Manage the deployed web application.


Related

Web applications
Web modules
web.xml file
Default Application
Servlets
Develop servlets with WAS extensions
Configure JSP engine parameters
JSP
Develop web applications
Modify the default web container configuration
Assembling web applications
Task overview: Assembling applications using remote request dispatcher
Secure applications during assembly and deployment
Define an extension for the registry filter
Migrate web application components from WAS v5.x
Tune URL invocation cache
Web application deployment troubleshooting tips
Web applications: Resources for learning
Develop servlet applications using asynchronous request dispatcher
Enterprise (Java EE) applications
JSP troubleshooting tips

+

Search Tips   |   Advanced Search