Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-07 Thread Claude Warren
1)An interesting annotation in Alibaba is the @SPARQL annotation. I guess the only way doing that with PA4RDF is an abstract/concrete class with ARQ query inside ? Is there a way to get the URI of he instance inside it ? (alibaba has the $this used in @SPARQL annotation) I'm not sure what the SPAR

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-07 Thread Nicolas Paris
Thanks all ! Martynas : I take a look on your application/framework. It means the VUE is described in RDF as templates, isn'it? I will have to design by example Quizz etc in RDF ? I guess I need some more hours to decript how work Graphity, and I will do that when I get bored about sesame/jena JPA

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-07 Thread Claude Warren
I was asked to comment on this thread and so as the developer for PA4RDF I will. PA4RDF was originally an interface only mapping: Annotated Interface directly mapping onto the RDF structure with the Subject of the triples being the instance of the interface and various properties of the subject ma

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-06 Thread Ashish Nijhara
Nicolas: It is important to understand why would you like RDF into JavaBeans. I mean in that case, a regular java application with RDBMS would also do the job or? So, if you consider for a second, you would have Javabeans being the objects updated by the application, internally you want to convert

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-06 Thread Martynas Jusevičius
Nicolas: fair enough. However you should know that by simply replacing the relational DB with a triplestore while using the same object-oriented programming approach you're not getting even half of the advantages of semantic technologies. RDF opens possibilities for new software design patterns. O

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-06 Thread Nicolas Paris
Martynas : Thanks for the link. Maybe your solution is excellent, but I don't want to lose me : classical MVC, is a security for me and the project. Olivier : The Elmo documentation is great. Do you think my application could be done with sesame ? I mean, sesame has a triple store, a reasoner, an

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-06 Thread Olivier Rossel
Martynas, that is a bit off-topic but maybe you could organize a webinar so you can show us some features of graphityhq. Nicolas: honestly, i know not very much about PA4RDF, I use Elmo (rebranded as AliBaba) : http://sourceforge.net/projects/sesame/files/AliBabaElmo/1.5/openrdf-elmo-1.5.zip/dow

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Martynas Jusevičius
Nicolas, I suggest you also take a look at Graphity Client: https://github.com/Graphity/graphity-client You don't really need an object layer representing your RDF classes above Jena, it is a bottleneck. You can express both the webapp structure and the instance data as RDF, and define a mapping

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Nicolas Paris
Thanks for answers ! - About http://callimachusproject.org/ : interesting but I have to create application from scratch, because very specific - About PA4RDF : It seems very interessant. Any other tutorial, related post or tip ? Olivier, what do you exactly mean by "a bean <-> graph mapper" ? I g

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Olivier Rossel
There was a discussion some weeks ago about PA4RDF. It might be a good starting point, in you think a bean <-> graph mapper could be useful in your case. Also http://callimachusproject.org/ could be another interesting project to investigate in your case. On Mon, Jan 5, 2015 at 2:41 PM, Nicolas

Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Nicolas Paris
Hello, I am creating a web semantic application, were persistant data is all stored in triple store (TDB). I mean, users(foaf), parameters etc. This application is an e-learning application, with exercices proposition based on reasonners. I want to use a classic MVC design pattern (jsp / servlets