On 13/06/12 22:04, don wrote:
HI,

Use a TDB backed dataset to have persistent data.

 From the tutorial
http://jena.apache.org/documentation/tdb/java_api.html. I guess that to
store persistent data we need to initialize either as directory name or
assembler file.

or --loc which is in effect an abbreviation for an assembler file.

So in my case I used Model model =ModelFactory.createOntologyModel(); By
default my fuseki server have in memory TDB.

java -Xmx1200M -jar fuseki-server.jar --update --mem
--loc=D:/fuseki-0.2.2/TD /ds2

Not both --mem and --loc.  Remove --mem.

Any documentation regarding how to create persistent data in remote
server using Jena API.

The API is the same.  SPARQL Update.

You can preload data into a database with tdb tools like tdbloader. See the website for details.


Regards

        Andy

Reply via email to