Contents

XWiki Technical Architecture

General Considerations

All XWiki Products (except XEclipse) are Java Web Applications and use the Servlet programming model as their entry points. Thus XWiki products can be installed in any Servlet container (Tomcat, Jetty, JBoss, WebSphere, etc).

Understanding how HTTP requests are handled

xwiki-web-request-architecture.png

HTTP Request Analysis

For each HTTP request, during the XWiki initialization phase, XWiki analyses the URL to extract information from it. For example the http://www.xwiki.org/xwiki/bin/view/Main/WebHome URL generates the following information:

  • The URL path contains /view/ and thus the ViewAction.java class is executed (configured in struts-config.xml and called by the Struts Action, itself configured in web.xml.
  • The wiki is the main wiki (since the server name starts by www)
  • The action is "view" and thus the view.vm will be rendered using Velocity
  • The space asked is Main and the document's name is WebHome
Version 28.3 last modified by VincentMassol on 10/06/2008 at 18:13

Comments 0

No comments for this document

Attachments 3

Image
xwiki-web-request-archite~.png 1.2
PostedBy: VincentMassol on 10/06/2008 (36kb )
Image
xwiki_architecture.jpg 1.5
PostedBy: LudovicDubost on 06/12/2007 (82kb )
BIN
xwiki-web-request-archite~.graffle 1.1
PostedBy: VincentMassol on 10/06/2008 (2kb )

Creator: on 2004/07/09 14:58
This wiki is licensed under a Creative Commons license
1.4.1.10194