Changes between Version 19 and Version 20 of VirtualCollectionRegistry


Ignore:
Timestamp:
08/26/14 13:18:51 (10 years ago)
Author:
Twan Goosen
Comment:

added some info about VCR queries

Legend:

Unmodified
Added
Removed
Modified
  • VirtualCollectionRegistry

    v19 v20  
    7171A number of core services for marshalling, validation, etcetera can be found in ''eu.clarin.cmdi.virtualcollectionregistry.service'' package (generally interfaces with implementations in the .impl subpackage).
    7272
    73 {{{#!comment
    74 Query language
    75 }}}
    76 
    7773More info:
    7874* [http://docs.oracle.com/javaee/6/tutorial/doc/bnbpz.html JPA introduction]
     
    9288The CMDI output is generated by marshalling instances of the classes generated by the JAX-B Maven plugin at build time (XJC), based on the [http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1404130561238/xsd VirtualCollection profile schema], a copy of which is included in the sources.
    9389
     90The collections space can be queried by means of a domain specific query language, as described in the [source:/VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/doc/Protocol.txt  REST documentation]. The grammar is defined in the file [source:/VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/jjtree/eu/clarin/cmdi/virtualcollectionregistry/query/QueryParser.jjt QueryParser.jjt]. The ''javacc-maven-plugin'' generates the parser at build time (with the JJTree preprocessor). Query string (as optional GET parameters) are passed from the REST resources to the ''VirtualCollectionRegistry'' service, which uses a static method to get it parsed into a ''ParsedQuery'' object, which in turn is used to obtain JPA query objects that can be used to retrieve concrete results.
     91
    9492More info:
    9593* [https://jersey.java.net/documentation/latest/jaxrs-resources.html JAX-RS resources documentation from Jersey]
    9694* [https://jersey.java.net/documentation/latest/message-body-workers.html information on custom body providers from Jersey]
    9795* [http://mojo.codehaus.org/jaxb2-maven-plugin/ jaxb2-maven-plugin]
     96* [http://mojo.codehaus.org/javacc-maven-plugin/ javacc-maven plugin] with links to information about JavaCC and JJTree
    9897
    9998==== Wicket application (UI) ====