Re: Fuseki user-defined Web Services
Great - hope to hear how it goes. Andy On 08/06/18 16:51, Piotr Nowara wrote: Hi Andy, thanks for your answer. I already started to experiment on hosting Fuseki using Glassfish server and deploying those REST services on Glassfish and it seems this might be the best way for us. Thanks, Piotr czw., 7 cze 2018 o 18:26 Andy Seaborne napisał(a): On 06/06/18 08:37, Piotr Nowara wrote: Hi, thanks for your comments. Andy, your link refers only to the embedded mode. How can I do something similar for the standalone Fuseki server? > You wrote "JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code.". It seems to be sufficient for my use case but I need some guidance how to implement it (how to register my own service as Fuseki service in the standalone server mode). That is tricky - I can't think of a way to have the configuration execute early enough. The standalone and war full servers use webapp startup and web.xml where are Fuseki basic is adding servlets to Jetty. How much the full server and the UI did you want to use? Andy Thanks, Piotr 2018-05-24 11:37 GMT-04:00 Martynas Jusevičius : We have implemented SPARQL protocol and GSP (maybe not 100%, but enough for our use) over JAX-RS: https://github.com/AtomGraph/Core/tree/master/src/main/ java/com/atomgraph/core/model On Thu, May 24, 2018 at 5:32 PM, Andy Seaborne wrote: A somewhat different form of customization. JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code. A JAX-RS module could use that to plug in. It could not be used for the main Fuseki dispatch without significant replumbing of JAX-RS as Fuseki dispatch changes as datasets are added and deleted. Fuseki needs to respect the SPARQL protocols 9query, update, GSP). Andy On 24/05/18 16:12, Martynas Jusevičius wrote: No, just this: https://www.mail-archive.com/users@jena.apache.org/msg08805.html On Thu, May 24, 2018 at 5:05 PM, Adam Soroka wrote: Was there a PR associated with that suggestion? Adam On 2018/05/24 14:29:51, Martynas Jusevičius wrote: I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/ java/com/atomgraph/core/model/impl/QueriedResourceBase.java On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara < piotrnow...@gmail.com> wrote: Hi, is there any documentation describing the new Fuseki capability of handling the user-defined services? The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki with new services. It is now possible to add custom services to a Fuseki service, not just the services provided by the Fuseki distribution." Does this mean I can create my own REST Web Service and host it using Fuseki? Thanks, Piotr
Re: Fuseki user-defined Web Services
Hi Andy, thanks for your answer. I already started to experiment on hosting Fuseki using Glassfish server and deploying those REST services on Glassfish and it seems this might be the best way for us. Thanks, Piotr czw., 7 cze 2018 o 18:26 Andy Seaborne napisał(a): > > > On 06/06/18 08:37, Piotr Nowara wrote: > > Hi, > > > > thanks for your comments. > > > > Andy, > > > > your link refers only to the embedded mode. How can I do something > similar > > for the standalone Fuseki server? > > > > You wrote "JENA-1435 means it is possible to have "/dataset/MyService" > and > > provide the code for MyService without having to modify Fuseki source > > code.". It seems to be sufficient for my use case but I need some > guidance > > how to implement it (how to register my own service as Fuseki service in > > the standalone server mode). > > That is tricky - I can't think of a way to have the configuration > execute early enough. > > The standalone and war full servers use webapp startup and web.xml where > are Fuseki basic is adding servlets to Jetty. > > How much the full server and the UI did you want to use? > > Andy > > > > > Thanks, > > Piotr > > > > 2018-05-24 11:37 GMT-04:00 Martynas Jusevičius : > > > >> We have implemented SPARQL protocol and GSP (maybe not 100%, but enough > for > >> our use) over JAX-RS: > >> https://github.com/AtomGraph/Core/tree/master/src/main/ > >> java/com/atomgraph/core/model > >> > >> > >> On Thu, May 24, 2018 at 5:32 PM, Andy Seaborne wrote: > >> > >>> A somewhat different form of customization. > >>> > >>> JENA-1435 means it is possible to have "/dataset/MyService" and provide > >>> the code for MyService without having to modify Fuseki source code. > >>> > >>> A JAX-RS module could use that to plug in. > >>> > >>> It could not be used for the main Fuseki dispatch without significant > >>> replumbing of JAX-RS as Fuseki dispatch changes as datasets are added > and > >>> deleted. Fuseki needs to respect the SPARQL protocols 9query, update, > >> GSP). > >>> > >>> Andy > >>> > >>> > >>> On 24/05/18 16:12, Martynas Jusevičius wrote: > >>> > No, just this: > https://www.mail-archive.com/users@jena.apache.org/msg08805.html > > On Thu, May 24, 2018 at 5:05 PM, Adam Soroka > wrote: > > Was there a PR associated with that suggestion? > > > > Adam > > > > On 2018/05/24 14:29:51, Martynas Jusevičius > > wrote: > > > >> I had long ago suggested that Jena should build on JAX-RS, which is > >> the > >> RESTful API for Java. > >> > >> You can see how that can be done here: > >> https://github.com/AtomGraph/Core/blob/master/src/main/ > >> > > java/com/atomgraph/core/model/impl/QueriedResourceBase.java > > > >> > >> On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara < > piotrnow...@gmail.com> > >> > > wrote: > > > >> > >> Hi, > >>> > >>> is there any documentation describing the new Fuseki capability of > >>> > >> handling > > > >> the user-defined services? > >>> > >>> The 3.7.0 release info says: "JENA-1435: Provide extensibility of > >>> > >> Fuseki > > > >> with new services. It is now possible to add custom services to a > >>> > >> Fuseki > > > >> service, not just the services provided by the Fuseki distribution." > >>> > >>> Does this mean I can create my own REST Web Service and host it > using > >>> Fuseki? > >>> > >>> Thanks, > >>> Piotr > >>> > >>> > >> > > > > >> > > >
Re: Fuseki user-defined Web Services
On 06/06/18 08:37, Piotr Nowara wrote: Hi, thanks for your comments. Andy, your link refers only to the embedded mode. How can I do something similar for the standalone Fuseki server? > You wrote "JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code.". It seems to be sufficient for my use case but I need some guidance how to implement it (how to register my own service as Fuseki service in the standalone server mode). That is tricky - I can't think of a way to have the configuration execute early enough. The standalone and war full servers use webapp startup and web.xml where are Fuseki basic is adding servlets to Jetty. How much the full server and the UI did you want to use? Andy Thanks, Piotr 2018-05-24 11:37 GMT-04:00 Martynas Jusevičius : We have implemented SPARQL protocol and GSP (maybe not 100%, but enough for our use) over JAX-RS: https://github.com/AtomGraph/Core/tree/master/src/main/ java/com/atomgraph/core/model On Thu, May 24, 2018 at 5:32 PM, Andy Seaborne wrote: A somewhat different form of customization. JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code. A JAX-RS module could use that to plug in. It could not be used for the main Fuseki dispatch without significant replumbing of JAX-RS as Fuseki dispatch changes as datasets are added and deleted. Fuseki needs to respect the SPARQL protocols 9query, update, GSP). Andy On 24/05/18 16:12, Martynas Jusevičius wrote: No, just this: https://www.mail-archive.com/users@jena.apache.org/msg08805.html On Thu, May 24, 2018 at 5:05 PM, Adam Soroka wrote: Was there a PR associated with that suggestion? Adam On 2018/05/24 14:29:51, Martynas Jusevičius wrote: I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/ java/com/atomgraph/core/model/impl/QueriedResourceBase.java On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara wrote: Hi, is there any documentation describing the new Fuseki capability of handling the user-defined services? The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki with new services. It is now possible to add custom services to a Fuseki service, not just the services provided by the Fuseki distribution." Does this mean I can create my own REST Web Service and host it using Fuseki? Thanks, Piotr
Re: Fuseki user-defined Web Services
Hi, thanks for your comments. Andy, your link refers only to the embedded mode. How can I do something similar for the standalone Fuseki server? You wrote "JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code.". It seems to be sufficient for my use case but I need some guidance how to implement it (how to register my own service as Fuseki service in the standalone server mode). Thanks, Piotr 2018-05-24 11:37 GMT-04:00 Martynas Jusevičius : > We have implemented SPARQL protocol and GSP (maybe not 100%, but enough for > our use) over JAX-RS: > https://github.com/AtomGraph/Core/tree/master/src/main/ > java/com/atomgraph/core/model > > > On Thu, May 24, 2018 at 5:32 PM, Andy Seaborne wrote: > > > A somewhat different form of customization. > > > > JENA-1435 means it is possible to have "/dataset/MyService" and provide > > the code for MyService without having to modify Fuseki source code. > > > > A JAX-RS module could use that to plug in. > > > > It could not be used for the main Fuseki dispatch without significant > > replumbing of JAX-RS as Fuseki dispatch changes as datasets are added and > > deleted. Fuseki needs to respect the SPARQL protocols 9query, update, > GSP). > > > > Andy > > > > > > On 24/05/18 16:12, Martynas Jusevičius wrote: > > > >> No, just this: > >> https://www.mail-archive.com/users@jena.apache.org/msg08805.html > >> > >> On Thu, May 24, 2018 at 5:05 PM, Adam Soroka wrote: > >> > >> Was there a PR associated with that suggestion? > >>> > >>> Adam > >>> > >>> On 2018/05/24 14:29:51, Martynas Jusevičius > >>> wrote: > >>> > I had long ago suggested that Jena should build on JAX-RS, which is > the > RESTful API for Java. > > You can see how that can be done here: > https://github.com/AtomGraph/Core/blob/master/src/main/ > > >>> java/com/atomgraph/core/model/impl/QueriedResourceBase.java > >>> > > On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara > > >>> wrote: > >>> > > Hi, > > > > is there any documentation describing the new Fuseki capability of > > > handling > >>> > the user-defined services? > > > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of > > > Fuseki > >>> > with new services. It is now possible to add custom services to a > > > Fuseki > >>> > service, not just the services provided by the Fuseki distribution." > > > > Does this mean I can create my own REST Web Service and host it using > > Fuseki? > > > > Thanks, > > Piotr > > > > > > >>> > >> >
Re: Fuseki user-defined Web Services
We have implemented SPARQL protocol and GSP (maybe not 100%, but enough for our use) over JAX-RS: https://github.com/AtomGraph/Core/tree/master/src/main/java/com/atomgraph/core/model On Thu, May 24, 2018 at 5:32 PM, Andy Seabornewrote: > A somewhat different form of customization. > > JENA-1435 means it is possible to have "/dataset/MyService" and provide > the code for MyService without having to modify Fuseki source code. > > A JAX-RS module could use that to plug in. > > It could not be used for the main Fuseki dispatch without significant > replumbing of JAX-RS as Fuseki dispatch changes as datasets are added and > deleted. Fuseki needs to respect the SPARQL protocols 9query, update, GSP). > > Andy > > > On 24/05/18 16:12, Martynas Jusevičius wrote: > >> No, just this: >> https://www.mail-archive.com/users@jena.apache.org/msg08805.html >> >> On Thu, May 24, 2018 at 5:05 PM, Adam Soroka wrote: >> >> Was there a PR associated with that suggestion? >>> >>> Adam >>> >>> On 2018/05/24 14:29:51, Martynas Jusevičius >>> wrote: >>> I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/ >>> java/com/atomgraph/core/model/impl/QueriedResourceBase.java >>> On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara >>> wrote: >>> Hi, > > is there any documentation describing the new Fuseki capability of > handling >>> the user-defined services? > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of > Fuseki >>> with new services. It is now possible to add custom services to a > Fuseki >>> service, not just the services provided by the Fuseki distribution." > > Does this mean I can create my own REST Web Service and host it using > Fuseki? > > Thanks, > Piotr > > >>> >>
Re: Fuseki user-defined Web Services
A somewhat different form of customization. JENA-1435 means it is possible to have "/dataset/MyService" and provide the code for MyService without having to modify Fuseki source code. A JAX-RS module could use that to plug in. It could not be used for the main Fuseki dispatch without significant replumbing of JAX-RS as Fuseki dispatch changes as datasets are added and deleted. Fuseki needs to respect the SPARQL protocols 9query, update, GSP). Andy On 24/05/18 16:12, Martynas Jusevičius wrote: No, just this: https://www.mail-archive.com/users@jena.apache.org/msg08805.html On Thu, May 24, 2018 at 5:05 PM, Adam Sorokawrote: Was there a PR associated with that suggestion? Adam On 2018/05/24 14:29:51, Martynas Jusevičius wrote: I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/ java/com/atomgraph/core/model/impl/QueriedResourceBase.java On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara wrote: Hi, is there any documentation describing the new Fuseki capability of handling the user-defined services? The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki with new services. It is now possible to add custom services to a Fuseki service, not just the services provided by the Fuseki distribution." Does this mean I can create my own REST Web Service and host it using Fuseki? Thanks, Piotr
Re: Fuseki user-defined Web Services
Piotr, There are some tests in https://github.com/apache/jena/blob/master/jena-fuseki2/jena-fuseki-embedded/src/test/java/org/apache/jena/fuseki/embedded/TestFusekiCustomOperation.java that show how to configure and laucnh a Fuseki sever with custom services. Andy On 24/05/18 15:19, Piotr Nowara wrote: Hi, is there any documentation describing the new Fuseki capability of handling the user-defined services? The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki with new services. It is now possible to add custom services to a Fuseki service, not just the services provided by the Fuseki distribution." Does this mean I can create my own REST Web Service and host it using Fuseki? Thanks, Piotr
Re: Fuseki user-defined Web Services
No, just this: https://www.mail-archive.com/users@jena.apache.org/msg08805.html On Thu, May 24, 2018 at 5:05 PM, Adam Sorokawrote: > Was there a PR associated with that suggestion? > > Adam > > On 2018/05/24 14:29:51, Martynas Jusevičius > wrote: > > I had long ago suggested that Jena should build on JAX-RS, which is the > > RESTful API for Java. > > > > You can see how that can be done here: > > https://github.com/AtomGraph/Core/blob/master/src/main/ > java/com/atomgraph/core/model/impl/QueriedResourceBase.java > > > > On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara > wrote: > > > > > Hi, > > > > > > is there any documentation describing the new Fuseki capability of > handling > > > the user-defined services? > > > > > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of > Fuseki > > > with new services. It is now possible to add custom services to a > Fuseki > > > service, not just the services provided by the Fuseki distribution." > > > > > > Does this mean I can create my own REST Web Service and host it using > > > Fuseki? > > > > > > Thanks, > > > Piotr > > > > > >
Re: Fuseki user-defined Web Services
Was there a PR associated with that suggestion? Adam On 2018/05/24 14:29:51, Martynas Jusevičiuswrote: > I had long ago suggested that Jena should build on JAX-RS, which is the > RESTful API for Java. > > You can see how that can be done here: > https://github.com/AtomGraph/Core/blob/master/src/main/java/com/atomgraph/core/model/impl/QueriedResourceBase.java > > On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara wrote: > > > Hi, > > > > is there any documentation describing the new Fuseki capability of handling > > the user-defined services? > > > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki > > with new services. It is now possible to add custom services to a Fuseki > > service, not just the services provided by the Fuseki distribution." > > > > Does this mean I can create my own REST Web Service and host it using > > Fuseki? > > > > Thanks, > > Piotr > > >
Re: Fuseki user-defined Web Services
Is this just a Java thing, or does it mean that I can setup a REST service on Fuseki itself (maybe with some config file)? Sent: Thursday, May 24, 2018 at 4:29 PM From: "Martynas Jusevičius" <marty...@atomgraph.com> To: jena-users-ml <users@jena.apache.org> Subject: Re: Fuseki user-defined Web Services I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/java/com/atomgraph/core/model/impl/QueriedResourceBase.java On Thu, May 24, 2018 at 4:19 PM, Piotr Nowara <piotrnow...@gmail.com> wrote: > Hi, > > is there any documentation describing the new Fuseki capability of handling > the user-defined services? > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki > with new services. It is now possible to add custom services to a Fuseki > service, not just the services provided by the Fuseki distribution." > > Does this mean I can create my own REST Web Service and host it using > Fuseki? > > Thanks, > Piotr >
Re: Fuseki user-defined Web Services
I had long ago suggested that Jena should build on JAX-RS, which is the RESTful API for Java. You can see how that can be done here: https://github.com/AtomGraph/Core/blob/master/src/main/java/com/atomgraph/core/model/impl/QueriedResourceBase.java On Thu, May 24, 2018 at 4:19 PM, Piotr Nowarawrote: > Hi, > > is there any documentation describing the new Fuseki capability of handling > the user-defined services? > > The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki > with new services. It is now possible to add custom services to a Fuseki > service, not just the services provided by the Fuseki distribution." > > Does this mean I can create my own REST Web Service and host it using > Fuseki? > > Thanks, > Piotr >
Fuseki user-defined Web Services
Hi, is there any documentation describing the new Fuseki capability of handling the user-defined services? The 3.7.0 release info says: "JENA-1435: Provide extensibility of Fuseki with new services. It is now possible to add custom services to a Fuseki service, not just the services provided by the Fuseki distribution." Does this mean I can create my own REST Web Service and host it using Fuseki? Thanks, Piotr