jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1015087 - in /websites/staging/jena/trunk/content: ./ documentation/fuseki2/fuseki-embedded.html documentation/fuseki2/fuseki-run.html
Date Fri, 07 Jul 2017 09:35:10 GMT
Author: buildbot
Date: Fri Jul  7 09:35:10 2017
New Revision: 1015087

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-embedded.html
    websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-run.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jul  7 09:35:10 2017
@@ -1 +1 @@
-1800266
+1801135

Modified: websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-embedded.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-embedded.html (original)
+++ websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-embedded.html Fri Jul
 7 09:35:10 2017
@@ -165,6 +165,7 @@ and testing.</p>
 <li><a href="#dependencies">Dependencies and Setup</a></li>
 <li><a href="#logging">Logging</a></li>
 <li><a href="#build">Building a Server</a></li>
+<li><a href="#fuseki-basic">Running as a standalone server</a></li>
 </ul>
 <p>The embedded server does not depend on any files on disk (other than for
 databases provided by the application), and does not provide
@@ -176,7 +177,7 @@ storage choice. <code>DatasetFactory.cre
 <a href="/documentation/tdb/">TDB</a> is a good choice for a persistent database.</p>
 <p>To build and start the server:</p>
 <div class="codehilite"><pre><span class="n">Dataset</span> <span
class="n">ds</span> <span class="p">=</span> <span class="p">...</span>
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
   <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">rdf</span>&quot;<span class="p">,</span>
<span class="n">ds</span><span class="p">)</span>
   <span class="p">.</span><span class="n">build</span><span class="p">()</span>
<span class="p">;</span>
 <span class="n">server</span><span class="p">.</span><span class="n">start</span><span
class="p">()</span> <span class="p">;</span>
@@ -270,16 +271,21 @@ Apache jena provides helpers for the JDK
 
 
 <h2 id="build">Building a server<a class="headerlink" href="#build" title="Permanent
link">&para;</a></h2>
-<p>A <code>FusekiEmbeddedServer</code> is built by creating a configuration,
+<p>A <code>FusekiServer</code> is built by creating a configuration,
 building the server, then running it.  The application needs to start
 the server.</p>
 <p>The default port for a Fuseki embedded server is 3330. This is different for the
default
-port for Fuseki running as a standalone server or as a wwabbapp application.</p>
+port for Fuseki running as a standalone server or as a webapp application.</p>
+<h2 id="fuseki-basic">Running as a standalone server<a class="headerlink" href="#fuseki-basic"
title="Permanent link">&para;</a></h2>
+<p>The artifact {{org.apache.jena::jena-fuseki-basic}} is a packaging of
+the embedded server that runs from the command line.  Unlike the full
+Fuseki server, it is only configured from the command line and has no
+persistent work area on-disk.</p>
 <h3 id="example-1">Example 1<a class="headerlink" href="#example-1" title="Permanent
link">&para;</a></h3>
 <p>Create a server on port 3330, that provides the default set of endpoints for an
RDF
 dataset that can be updated via HTTP.</p>
 <div class="codehilite"><pre><span class="n">DatasetGraph</span>
<span class="n">ds</span> <span class="p">=</span> <span class="n">DatasetFactory</span><span
class="p">.</span><span class="n">createTxnMem</span><span class="p">()</span>
<span class="p">;</span>
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
     <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">ds</span>&quot;<span class="p">,</span>
<span class="n">ds</span><span class="p">)</span>
     <span class="p">.</span><span class="n">build</span><span
class="p">()</span> <span class="p">;</span>
 <span class="n">server</span><span class="p">.</span><span class="n">start</span><span
class="p">()</span> <span class="p">;</span>
@@ -328,7 +334,7 @@ dataset that can be updated via HTTP.</p
 <p>Create a server on port 3332, that provides the default set of endpoints for a data
 set that is read-only over HTTP. The application can still update the dataset.</p>
 <div class="codehilite"><pre><span class="n">Dataset</span> <span
class="n">ds</span> <span class="p">=</span> <span class="p">...</span>
<span class="p">;</span>
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
     <span class="p">.</span><span class="n">setPort</span><span
class="p">(</span>3332<span class="p">)</span>
     <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">ds</span>&quot;<span class="p">,</span>
<span class="n">ds</span><span class="p">,</span> <span class="n">true</span><span
class="p">)</span>
     <span class="p">.</span><span class="n">build</span><span
class="p">()</span> <span class="p">;</span>
@@ -370,7 +376,7 @@ set that is read-only over HTTP. The app
 <span class="n">dataService</span><span class="p">.</span><span
class="n">addEndpoint</span><span class="p">(</span><span class="n">OperationName</span><span
class="p">.</span><span class="n">Query</span><span class="p">,</span>
&quot;&quot;<span class="p">);</span>
 <span class="n">dataService</span><span class="p">.</span><span
class="n">addEndpoint</span><span class="p">(</span><span class="n">OperationName</span><span
class="p">.</span><span class="n">Update</span><span class="p">,</span>
&quot;&quot;<span class="p">);</span>
 
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
    <span class="p">.</span><span class="n">setPort</span><span
class="p">(</span>3332<span class="p">)</span>
    <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">data</span>&quot;<span class="p">,</span>
<span class="n">dataService</span><span class="p">)</span>
    <span class="p">.</span><span class="n">build</span><span class="p">()</span>
<span class="p">;</span>
@@ -410,7 +416,7 @@ string is used to determine the operatio
 <p>Multiple datasets can be served by one server.</p>
 <div class="codehilite"><pre><span class="n">Dataset</span> <span
class="n">ds1</span> <span class="p">=</span> <span class="p">...</span>
 <span class="n">Dataset</span> <span class="n">ds2</span> <span
class="p">=</span> <span class="p">...</span>
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
     <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">data1</span>&quot;<span class="p">,</span>
<span class="n">ds1</span><span class="p">)</span>
     <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">data1</span><span class="o">-</span><span
class="n">readonly</span>&quot;<span class="p">,</span> <span
class="n">ds1</span><span class="p">,</span> <span class="n">true</span><span
class="p">)</span>
     <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">data2</span>&quot;<span class="p">,</span>
<span class="n">ds2</span><span class="p">)</span>

Modified: websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-run.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-run.html (original)
+++ websites/staging/jena/trunk/content/documentation/fuseki2/fuseki-run.html Fri Jul  7 09:35:10
2017
@@ -156,13 +156,14 @@
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
> .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink
{ visibility: visible }</style>
-<p>Fuseki can be run in three ways</p>
+<p>Fuseki can be run in a number of ways:</p>
 <ul>
 <li><a href="#fuseki-standalone-server">As a standalone server</a></li>
 <li><a href="#fuseki-service">As a service</a> run by the operation system,
for example, started when the machine</li>
-<li><a href="#fuseki-web-application">As a Web Application</a> inside a
container such as Apache Tomcat or Jetty.
+<li><a href="#fuseki-web-application">As a Web Application</a> inside a
container such as Apache Tomcat or Jetty
 boots.</li>
-<li><a href="#fuseki-embedded">As an embedded SPARQL server</a>.</li>
+<li><a href="#fuseki-embedded">As an embedded SPARQL server</a></li>
+<li><a href="#fuseki-basic">As a simple development standalone server</a></li>
 </ul>
 <p>See "<a href="fuseki-configuration.html">Fuseki Configuration</a>" for
information on
 how to provide datasets and configure services.</p>
@@ -213,7 +214,7 @@ services to application data. The applic
 update the datasets served by the server.</p>
 <p>Basic example:</p>
 <div class="codehilite"><pre><span class="n">Dataset</span> <span
class="n">ds</span> <span class="p">=</span> <span class="p">...</span>
-<span class="n">FusekiEmbeddedServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiEmbeddedServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
+<span class="n">FusekiServer</span> <span class="n">server</span>
<span class="p">=</span> <span class="n">FusekiServer</span><span
class="p">.</span><span class="n">create</span><span class="p">()</span>
   <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span
class="o">/</span><span class="n">dataset</span>&quot;<span class="p">,</span>
<span class="n">ds</span><span class="p">)</span>
   <span class="p">.</span><span class="n">build</span><span class="p">()</span>
<span class="p">;</span>
 <span class="n">server</span><span class="p">.</span><span class="n">start</span><span
class="p">()</span> <span class="p">;</span>
@@ -223,6 +224,11 @@ update the datasets served by the server
 <p>See the <a href="fuseki-embedded.html">full documentation</a> for details
of
 configuration and working with data shared with the <a href="fuseki-embedded.html">embedded
 Fuseki</a> instance.</p>
+<h2 id="fuseki-basic">Simple Development Standalone Server<a class="headerlink"
href="#fuseki-basic" title="Permanent link">&para;</a></h2>
+<p>The artifact {{org.apache.jena::jena-fuseki-basic}} is a packaging of
+the embedded server that runs from the command line.  Unlike the full
+Fuseki server, it is only configured from the command line and has no
+persistent work area on-disk.</p>
   </div>
 </div>
 



Mime
View raw message