转载自: http://www.xml.com/pub/a/2004/05/26/www2004.html Java: the Semantic Web Language of Choice Many of the Semantic Web applications demonstrated during the conference are written in Java, as is much of the publicly available code for working with the Semantic Web. While this may alienate some developers, it also demonstrates a commitment on the part of the presenters to create re-usable code, and this approach has paid off in tools like Kowari, which simply grafts the Jena API on top of its triple store, allowing existing Jena users to migrate with a minimum of pain. It may also indicate the desire of many developers to see the Semantic Web take root in the enterprise, where Java is an acceptable development tool. Related Reading500)this.width=500'> Practical RDFBy Shelley Powers Table of ContentsIndexSample ChapterRead Online--Safari Search this book on Safari: Only This Book All of SafariCode Fragments only One Java tool which was repeatedly mentioned at WWW2004 was Lucene, an API for full-text search. A conference presentation by Doug Cutting, who founded the Lucene project, described how Lucene has found its way into dozens of projects, including Nutch, an open-source search engine that hopes to one day compete with Google. At first, Lucene's relationship to the Semantic Web may seem unclear -- after all, the Semantic Web is about resource discovery by analyzing triples, not full-text search. However, along with URIs, literal values make up a good portion of RDF, and Lucene offers an easily embeddable means to provide for search within those literal values. Most notably, Lucene is integrated into Kowari, where it allows for combinations of graph-based querying and old-fashioned keyword lookup. While Java's success on the server is difficult to dispute, on the desktop the lead is not as clear. A tool like Haystack, while elegant in screenshots, appears to be staggering under its own weight when it's run on even a fairly powerful laptop (one attendee called it a "Shrek" -- sweet, but a monster). While SWOOP is a lighter-weight application, as is Bibster, both have simple GUIs, and don't provide the eye candy or visualization options that feature in Haystack and that end-users have come to expect. For the Semantic Web to succeed on the desktop, it may need to leave Java behind; one promising approach might be to focus energies on .NET/Mono implementations; alternately, developers could consider using Mozilla's XUL, particularly given the fact that Mozilla already stores application data in RDF -- "triples all the way down."