If I used Jena, can I use a non-Java Web framework like Django or Rails to implement a WebApp? How can this be done?
asked 10 Oct '10, 23:39
Sure. First you can run Jena via tools like Joseki as a standalone SPARQL server and then write your web app to call out to the SPARQL endpoints.
Second, you can run non-java web applications directly in java. For example, you can run Rails using jRuby then use jRuby's ability to call out to java to give it access to Jena.
answered 11 Oct '10, 07:56
If you're looking to use Jena as a library within your web app to munge data between the triple store and the front end, you're going to be stuck on the JVM. So you can use non-Java languages like Groovy (and its Grails or Ratpack frameworks), Scala (and its Play framework), and Clojure (and its Compojure framework).
As mentioned above, jRuby and jython do give you access to Rails and Django, but you'd have to accept the disconnect between features in those languages and newer features in their target languages.
answered 18 Jan, 20:54