Hi Anyone,
I'm trying to understand how XWiki works - its a servlet isn't it? but
looking through the source code it doesn't have the standard servlet
structure (unless I'm looking in the wrong place) i.e.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class SomeServlet extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
// Use "request" to read incoming HTTP headers (e.g. cookies)
// and HTML form data (e.g. data the user entered and submitted)
// Use "response" to specify the HTTP response line and headers
// (e.g. specifying the content type, setting cookies).
PrintWriter out = response.getWriter();
// Use "out" to send content to browser
}
}
so how does it work ... where do I start looking in the source code?
What's the architecture
(
http://www.subbu.org/articles/servlets/ServletIssues.html) - is it one, two
or three tier?
Thanks in advance.
Regards,
Richard
-----Original Message-----
From: goldring, richard
Sent: 09 June 2008 07:52
To: 'XWiki Users'
Subject: XWiki source code
Hi,
I'm trying to figure out the XWiki source code...
Can someone "in the know" document on
xwiki.org the flow of control through
XWiki from starting up the java server (Jetty, Tomcat, etc) and XWiki, to
the user logging in, to view a document, navigating to another page, to
editing and saving a page (HSQL, MySQL, etc), to logging out, to using a
plugin, to running some embedded code on a page, and finally to shutting
down XWiki? Some diagrams would be useful as well. Even if it were just a
brief description it would reallyhelp. It would be useful to know where to
start to try and understand the code. Some background on the technologies
used by XWiki would be useful as well.
Thanks.
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273