[Neo4j] Return Node in an unmanaged server plugin

2011-08-21 Thread shlomyb
Hi

I want to add some logic to add/create node from graph.
So I created a Unmanaged Server plugin with a method named
getOrCreateNode(@PathParm(id) id)
annotated with @POST @Produces( MediaType.JSON_APPLICATION) and @Path(
/{id}).

My question is how can I return a Node object ?? Should I use the JsonHelper
class?? 

Second question , Where can I find the code for creating / retrieving Nodes
using REST in Neo4J project?

10x.



--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Return-Node-in-an-unmanaged-server-plugin-tp3273004p3273004.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Using EmbeddedNeo4jServer with Jersey on Eclipse

2011-08-17 Thread shlomyb
Hi

I am playing with a server plugin  example I've found named:
neo4j-clean-remote-db-addon (by Michael Hunger)

It uses EmbeddedNeo4jServer instance and using Rest commands(with Jersey) it
cleans the db.

There is a small unit test  class so I created a Java project in Eclipse put
the Jersey jars in the build path import javaa classes and the problem is
that  when I try to use it  I can see the server is starting up but I get
No Web Server exception thrown by Jersey.

Can I get some help here?

10x

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Using-EmbeddedNeo4jServer-with-Jersey-on-Eclipse-tp3261777p3261777.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Number of request per second using Neo4j Server configuration and REST

2011-08-15 Thread shlomyb
Hi 

Using Neo4j Server , how much REST requests it can handled concurrently\per
second?
I am intresting especially in REST requests that query a small portion of
the graph םר update a small portion of it.

10x. 

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Number-of-request-per-second-using-Neo4j-Server-configuration-and-REST-tp3257657p3257657.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Extend the reference API

2011-08-11 Thread shlomyb
I use  NEO4J Server with REST technology. 
For my proect  needs ,   I want to add some features  to  Neo4J API
For example , in the RelationShip API I want to give the user the
opportunity to link between to nodes using unique identifier with  an option 
to create them (one or both) if they are not exist?

1.Where\what is a good starting point to do so (in code/document ].. etc.)

2. As I said I am using REST technology , so what is the best way to add a
node in a multi-threded environment?






--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Extend-the-reference-API-tp3247126p3247126.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] some questions : unique property and Rest

2011-08-11 Thread shlomyb
1.Does Neo4J support *unique property*  (Node/Relationship)?
2.How can I wrap a Node in a MyClass and using it with Rest services?
3.Can I use in MyClass some JPA annotaions?

shlomib


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/some-questions-unique-property-and-Rest-tp3248352p3248352.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user