You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/07/07 09:34:22 UTC

svn commit: r1801135 - in /jena/site/trunk/content/documentation/fuseki2: fuseki-embedded.md fuseki-run.mdtext

Author: andy
Date: Fri Jul  7 09:34:22 2017
New Revision: 1801135

URL: http://svn.apache.org/viewvc?rev=1801135&view=rev
Log:
Updates for Fuseki: JENA-1371 renames and doc fuseki-basic

Modified:
    jena/site/trunk/content/documentation/fuseki2/fuseki-embedded.md
    jena/site/trunk/content/documentation/fuseki2/fuseki-run.mdtext

Modified: jena/site/trunk/content/documentation/fuseki2/fuseki-embedded.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/fuseki2/fuseki-embedded.md?rev=1801135&r1=1801134&r2=1801135&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/fuseki2/fuseki-embedded.md (original)
+++ jena/site/trunk/content/documentation/fuseki2/fuseki-embedded.md Fri Jul  7 09:34:22 2017
@@ -9,6 +9,7 @@ and testing.
 * [Dependencies and Setup](#dependencies)
 * [Logging](#logging)
 * [Building a Server](#build)
+* [Running as a standalone server](#fuseki-basic)
 
 The embedded server does not depend on any files on disk (other than for
 databases provided by the application), and does not provide
@@ -24,7 +25,7 @@ storage choice. `DatasetFactory.createTx
 To build and start the server:
 
     Dataset ds = ...
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
       .add("/rdf", ds)
       .build() ;
     server.start() ;
@@ -117,20 +118,26 @@ To silence logging from Java, try:
 
 ## Building a server {#build}
 
-A ``FusekiEmbeddedServer`` is built by creating a configuration,
+A ``FusekiServer`` is built by creating a configuration,
 building the server, then running it.  The application needs to start
 the server.
 
 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.
+port for Fuseki running as a standalone server or as a webapp application.
 
+## Running as a standalone server {#fuseki-basic}
+
+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.
 
 ### Example 1
 Create a server on port 3330, that provides the default set of endpoints for an RDF
 dataset that can be updated via HTTP.
 
     DatasetGraph ds = DatasetFactory.createTxnMem() ;
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
         .add("/ds", ds)
         .build() ;
     server.start() ;
@@ -155,7 +162,7 @@ Create a server on port 3332, that provi
 set that is read-only over HTTP. The application can still update the dataset.
 
     Dataset ds = ... ;
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
         .setPort(3332)
         .add("/ds", ds, true)
         .build() ;
@@ -178,7 +185,7 @@ Different combinations of services and e
     dataService.addEndpoint(OperationName.Query, "");
     dataService.addEndpoint(OperationName.Update, "");
 
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
        .setPort(3332)
        .add("/data", dataService)
        .build() ;
@@ -200,7 +207,7 @@ Multiple datasets can be served by one s
 
     Dataset ds1 = ...
     Dataset ds2 = ...
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
         .add("/data1", ds1)
         .add("/data1-readonly", ds1, true)
         .add("/data2", ds2)

Modified: jena/site/trunk/content/documentation/fuseki2/fuseki-run.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/fuseki2/fuseki-run.mdtext?rev=1801135&r1=1801134&r2=1801135&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/fuseki2/fuseki-run.mdtext (original)
+++ jena/site/trunk/content/documentation/fuseki2/fuseki-run.mdtext Fri Jul  7 09:34:22 2017
@@ -1,12 +1,13 @@
 Title: Running Fuseki
 
-Fuseki can be run in three ways
+Fuseki can be run in a number of ways:
 
 * [As a standalone server](#fuseki-standalone-server)
 * [As a service](#fuseki-service) run by the operation system, for example, started when the machine
-* [As a Web Application](#fuseki-web-application) inside a container such as Apache Tomcat or Jetty.
+* [As a Web Application](#fuseki-web-application) inside a container such as Apache Tomcat or Jetty
 boots.
-* [As an embedded SPARQL server](#fuseki-embedded).
+* [As an embedded SPARQL server](#fuseki-embedded)
+* [As a simple development standalone server](#fuseki-basic)
 
 See "[Fuseki Configuration](fuseki-configuration.html)" for information on
 how to provide datasets and configure services.
@@ -74,7 +75,7 @@ update the datasets served by the server
 Basic example:
 
     Dataset ds = ...
-    FusekiEmbeddedServer server = FusekiEmbeddedServer.create()
+    FusekiServer server = FusekiServer.create()
       .add("/dataset", ds)
       .build() ;
     server.start() ;
@@ -82,3 +83,10 @@ Basic example:
 See the [full documentation](fuseki-embedded.html) for details of
 configuration and working with data shared with the [embedded
 Fuseki](fuseki-embedded.html) instance.
+
+## Simple Development Standalone Server {#fuseki-basic}
+
+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.