jpmccu / sadi

Automatically exported from code.google.com/p/sadi
0 stars 0 forks source link

Re-implement SADI service hierarchy using Sesame as the underlying RDF library instead of Jena #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I just followed the hello world Java SADI tutorial at [1] and am pretty excited 
to jump in.

I'd be a little more excited if I got a Sesame Repository instead of a Jena 
ThingAmaWidget. I have mounds of code built around Sesame that I'd like to 
expose as SADI, and would rather not do a Model.read(Repository.write()) crufty 
hack.

So, I would like to offer to contribute to the code base to expose Sesame 
instead of Jena. Could anybody estimate the level of our efforts to get that to 
happen?

Thanks!
Tim Lebo

[1] http://code.google.com/p/sadi/wiki/BuildingServicesInJava

Original issue reported on code.google.com by tim...@gmail.com on 16 Dec 2011 at 7:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Assuming you're just interested in the service side, there isn't that much to 
do.  I think the quickest way is to extend ServiceServlet.doPost()[1] to set up 
the input/output RDF models using Sesame objects instead of Jena ones.  You can 
use the existing service hierarchy (ServiceServlet[1] -> 
SynchronousServiceServlet[2] / AsynchronousServiceServlet[3]) as a guide.

I've added you as a contributor.  If you make any progress, attach a patch to 
this issue and I'll pull it in.

[1]http://code.google.com/p/sadi/source/browse/trunk/sadi.service/src/main/java/
ca/wilkinsonlab/sadi/service/ServiceServlet.java#208
[2]http://code.google.com/p/sadi/source/browse/trunk/sadi.service/src/main/java/
ca/wilkinsonlab/sadi/service/SynchronousServiceServlet.java
[3]http://code.google.com/p/sadi/source/browse/trunk/sadi.service/src/main/java/
ca/wilkinsonlab/sadi/service/AsynchronousServiceServlet.java

It's a shame wiki syntax doesn't work in these comments…

Original comment by elmccar...@gmail.com on 17 Dec 2011 at 3:46

GoogleCodeExporter commented 9 years ago

Original comment by elmccar...@gmail.com on 17 Dec 2011 at 3:56

GoogleCodeExporter commented 9 years ago
Sounds good. Thanks for the guidance. I'll dig in.

Original comment by tim...@gmail.com on 17 Dec 2011 at 11:48