ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Combine Neo4j with GWT and Eclipse

How to Combine Neo4j with GWT and Eclipse

原创 Linux操作系统 作者:jieforest 时间:2012-05-28 12:52:13 0 删除 编辑
[i=s] 本帖最后由 jieforest 于 2012-5-26 11:44 编辑

As stated before I did my first testings with Neo4j. Now I wanted to include Neo4j to GWT which is actually very straight forward but for some reasons I was fighting with it for quite a while. I even had to emberass myself by asking stupid questions on the neo4j mailinglist to which Peter and John Doran kindly responded.


Any way now I am excited to follow my research topics which I hope to answer by using neo4j.


Installing Neo4j in GWT with Eclipse step by step

Today I created a 12 Minute screencast that shows how to set everything up. But I recommend everyone to just read the very good documentations. Reading those you might be faster.

Download the neccessary software

you have to download Eclipse and GWT. last but not least you want to grab the graph databse neo4j.

Important parts of the documentation

GWT compiles the source from the client packages to javascript. So in this part of your project you don’t want to include external Jars like the ones from neo4j.

We follow the getting started with neo4j guide from the neo4j wiki. Here we create a very simple Hello World program that stores the setence in 2 Nodes and one relation between them.

Basically you only want to copy and paste this code to your GWT serversided code.

Create the Project
After creating a new GWT Web project in eclipse you need to include the Neo4j Libraries. You rightclickto your project -> Build path -> configure build path … In the new window you click add Library here youcan choose the location to which you downloaded the neo4j libs.
Ok I hope this solved all questions for you. If not feel free to contact me! In any case tell me what you are doing with neo4j!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-731254/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-23

  • 博文量
    442
  • 访问量
    521713