Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Web components packaged in Web Application Archives (WAR) can be deployed in WSO2 AS as web applications. This includes any generic web application, JAX-RS/JAX-WS application or Spring application that is packaged into WAR files. For more information on WAR files, please refer to http://ant.apache.org/manual/Tasks/war.html.  

The following topics explains these different types of web applications deployable in AS, and how they should be developed for WSO2 AS:

Table of Contents
maxLevel3
minLevel3

...

  1. The class files and the web.xml file should be in the archive directory. The hierarchical directory structure of the web archive for a generic web application is shown below.

    Code Block
    HellowWorld.war
        index.html
        *.jsp
        WEB-INF/
           web.xml
           lib/
           classes/
        META-INF/
        images/
  2. If you want to configure your web application by enabling SaaS mode or CORS, see the topic on Configuring Applications for AS.
  3. If you want to use more advanced configurations for your web application, such as enabling Single Sign On (SSO), enabling fine grained authorization using XACML, see the Working with Applications topic.

JAX-RS/JAX-WS applications

...