W3C home > Mailing lists > Public > www-annotation@w3.org > July to December 2002

RE: Questions on Annotea servlet set-up

From: Claus <filter@privat.dk>
Date: Mon, 5 Aug 2002 17:26:13 +0200
To: "'Sandor Spruit'" <sandor@cs.uu.nl>, "'www-annotation'" <www-annotation@w3.org>
Message-ID: <000a01c23c94$6f752610$89b6a483@home>

Hi Sandor,

Your last comment made me write this reply. You said
*any* help or hint :-)

My understanding is that the AnnoteaServlet is a kind
of middle layer that handles some of the more complex
matters of exchanging annotations with an annotation
server, thus claiming less functionality from the Java-
Script client witch makes them easier to write. This also
expands the number of potential clients.

In design patterns terminology I see the AnnoteaServlet
as a Facade to the annotation server.

The JavaScript client communicates with an Annotea-
Servlet and the servlet communicates with the Annotea
server. This makes communication with an annotea
server 'just' a matter of submitting forms to the servlet.

The annotea project is based on RDF, using serialisation
in XML to transport models through the HTTP protocol.


Just a hint - hope you can use it.


> -----Original Message-----
> From: www-annotation-request@w3.org
> [mailto:www-annotation-request@w3.org]On Behalf Of Sandor Spruit
> Sent: 5. august 2002 15:09
> To: www-annotation@w3.org
> Subject: Questions on Annotea servlet set-up
> Dear all,
> I've been gathering information about Annotea over the last couple of 
> days. A collegue would like to use it in a course on computer-mediated
> communication, sometime next month. I'd like to use the Java servlet 
> because of my own personal experience and server availability 
> (Tomcat).
> Could someone verify that the following is accurate, and help me a bit
> to get the stuff up and running?
> The idea is to use two JavaScript-enhanced pages to create 
> and retrieve
> annotations, respectively. These are typically named 
> create-annot.html 
> and get_annot.html for obvious reasons, and addressed through a normal
> URI, a bookmark etc. Whatever you like. These pages can be 
> anywhere on 
> the web, but it makes sense to have them on a "nearby" webserver. The
> annotations are stored or retrieved by having the JavaScript functions
> send/receive information from a relational database storing RDF data,
> by calling on the Annotea servlet.
> What puzzles me, is how the Annotea servlet gets addressed from within
> these pages. Why is there a distinction between a "annotations" server
> and a "servlet" ? One to GET, one to PUT/POST ? How should I configure
> a web-app on Tomcat to get things working - it smells like a piece of
> cake but I can't figure it out just yet :(
> Any help or hints much appreciated.
> Cheers,
> Sandor
Received on Monday, 5 August 2002 11:25:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:55 UTC