Changes between Version 8 and Version 9 of mpdl2.0-design


Ignore:
Timestamp:
Sep 16, 2011, 8:40:29 AM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mpdl2.0-design

    v8 v9  
    1 = MPDL 2.0 (backend system) =
    2 
    3 The MPDL backend software is redesigned so that as much software as possible is separated from the eXist database system and could be used independently from eXist (MPDL 2.0). We offer two MPDL librares:
     1= MPDL 2.0 backend system: software design =
     2
     3The MPDL backend software is redesigned so that as much software as possible is separated from the eXist database system and could be used independently from eXist. We offer three MPDL librares:
     4* XML technology (available as a web archive file "mpiwg-mpdl-xml.war")
    45* language technology (available as a web archive file "mpiwg-mpdl-lt.war")
    5 * XML technology (available as a web archive file "mpiwg-mpdl-xml.war")
    6 
    7 The other MPDL backend software which needs the functionality of eXist and Lucene (XML document storage and retrieval) is redesigned so that all important functions are available as HTTP servlets with a specified API.
     6* CMS technology (available as a web archive file "mpiwg-mpdl-cms.war")
     7
     8== XML technology ==
     9
     10The XML technology web archive ""mpiwg-mpdl-xml.war"" consists of:
     11* Java code: mpiwg-mpdl-xml.jar
     12* external Java libraries: saxon9-s9api.jar, ...
     13* web application configuration file: web.xml
     14
     15Following HTTP servlets are available:
     16
     17=== XSL transformation ===
     18
     19* !TransformServlet
     20  * URL: /mpdl/transform
     21  * Request parameters:
     22    * srcUrl
     23      * source URL of XML document
     24    * xslUrl
     25      * URL of XSL document
     26    * parameters (optional)
     27      * list of parameters, e.g. "yourParam1=val1 yourParam2=val2"
     28    * outputProperties (optional)
     29      * list of output properties, e.g. "method=xhtml indent=no"
     30  * Response output:
     31    * transformed document (HTML, XML, etc.)
     32
     33* !GetFragmentServlet
     34  * URL: /mpdl/getFragment
     35  * Request parameters:
     36    * srcUrl
     37      * source URL of XML document
     38    * ms1Name
     39      * first milestone name, e.g. "pb"
     40    * ms1Position
     41      * first milestone position, e.g. 1
     42    * ms2Name
     43      * second milestone name, e.g. "pb"
     44    * ms2Position
     45      * second milestone position, e.g. 2
     46  * Response output:
     47    * XML fragment
     48
     49=== PDF rendering ===
     50
     51* !RenderServlet
     52  * URL: /mpdl/render
     53  * Request parameters:
     54    * srcUrl
     55      * source URL of XML document
     56    * xslUrl
     57      * URL of XSL document
     58    * parameters (optional)
     59      * list of parameters, e.g. "yourParam1=val1 yourParam2=val2"
     60  * Response output:
     61    * rendered document (PDF)
     62
     63=== XPath/XQuery ===
     64
     65* !XPathServlet
     66  * URL: /mpdl/xpath
     67  * Request parameters:
     68    * srcUrl
     69      * source URL of XML document
     70    * xpath
     71      * xpath source code
     72  * Response output:
     73    * XPath result for that document
     74
     75* !XQueryServlet
     76  * URL: /mpdl/xquery
     77  * Request parameters:
     78    * srcUrl
     79      * source URL of XML document
     80    * xquery
     81      * xquery source code
     82  * Response output:
     83    * XQuery result for that document
    884
    985== Language technology ==
    1086
    1187The language technology web archive ""mpiwg-mpdl-lt.war"" consists of:
    12 * data (data files, Java Berkely DB's)
     88* data (data files, Java BerkelyDB data)
    1389  * morphology data (Perseus, CELEX, Lexique with languages: ara, eng, fre, ger, gre, ita, lat, nld, zho)
    1490  * dictionary data (dictionaries: autenrieth, baretti, bonitz, cooper, florio, lewis-short, lidell-scott-jones, salmone, webster)
    15 * Java source code
    16 * used Java libraries
    17 * web application configuration file ("web.xml")
     91* Java code: mpiwg-mpdl-lt.jar
     92* external Java libraries: berkeley-db-3.3.82.jar, ...
     93* web application configuration file: web.xml
    1894
    1995Following HTTP servlets are available:
     
    130206    * transcoded text
    131207
    132 == XML technology ==
    133 
    134 The XML technology web archive ""mpiwg-mpdl-xml.war"" consists of:
    135 * Java source code
    136 * used Java libraries
    137 * web application configuration file ("web.xml")
     208== CMS technology ==
     209
     210The CMS technology web archive ""mpiwg-mpdl-cms.war"" consists of:
     211* Java code: mpiwg-mpdl-cms.jar
     212* external Java libraries: mpiwg-mpdl-xml.jar, mpiwg-mpdl-lt.jar, ...
     213* web application configuration file: web.xml
    138214
    139215Following HTTP servlets are available:
    140 
    141 === XSL transformation ===
    142 
    143 * !TransformServlet
    144   * URL: /mpdl/transform
    145   * Request parameters:
    146     * srcUrl
    147       * source URL of XML document
    148     * xslUrl
    149       * URL of XSL document
    150     * parameters (optional)
    151       * list of parameters, e.g. "yourParam1=val1 yourParam2=val2"
    152     * outputProperties (optional)
    153       * list of output properties, e.g. "method=xhtml indent=no"
    154   * Response output:
    155     * transformed document (HTML, XML, etc.)
    156 
    157 * !GetFragmentServlet
    158   * URL: /mpdl/getFragment
    159   * Request parameters:
    160     * srcUrl
    161       * source URL of XML document
    162     * ms1Name
    163       * first milestone name, e.g. "pb"
    164     * ms1Position
    165       * first milestone position, e.g. 1
    166     * ms2Name
    167       * second milestone name, e.g. "pb"
    168     * ms2Position
    169       * second milestone position, e.g. 2
    170   * Response output:
    171     * XML fragment
    172 
    173 === PDF rendering ===
    174 
    175 * !RenderServlet
    176   * URL: /mpdl/render
    177   * Request parameters:
    178     * srcUrl
    179       * source URL of XML document
    180     * xslUrl
    181       * URL of XSL document
    182     * parameters (optional)
    183       * list of parameters, e.g. "yourParam1=val1 yourParam2=val2"
    184   * Response output:
    185     * rendered document (PDF)
    186 
    187 === XPath/XQuery ===
    188 
    189 * !XPathServlet
    190   * URL: /mpdl/xpath
    191   * Request parameters:
    192     * srcUrl
    193       * source URL of XML document
    194     * xpath
    195       * xpath source code
    196   * Response output:
    197     * XPath result for that document
    198 
    199 * !XQueryServlet
    200   * URL: /mpdl/xquery
    201   * Request parameters:
    202     * srcUrl
    203       * source URL of XML document
    204     * xquery
    205       * xquery source code
    206   * Response output:
    207     * XQuery result for that document
    208 
    209 == XML document storage and retrieval ==
    210216
    211217* !GetDocumentServlet