Hi,

I have completed http://neo4j.com/docs/2.2.0/tutorials-java-embedded.html 
<https://r.clb.pt/r/f84a647cc766297acd7dfd41adc7152e?d=http%3A%2F%2Fneo4j.com%2Fdocs%2F2.2.0%2Ftutorials-java-embedded.html>.
 
It is very useful to get involved with Neo4j and Java.
Now I want to move forward with both. But I am confused with REST API. How 
to use it with java. I read and try to apply following 
URL http://neo4j.com/docs/stable/server-java-rest-client-example.html. But 
it is totally different from embedded tutorial.
Like: 

        WebResource resource = Client.create().resource( SERVER_ROOT_URI );

ClientResponse response = resource.get( ClientResponse.class );
System.out.println( String.format( "GET on [%s], status code [%d]",
        SERVER_ROOT_URI, response.getStatus() ) );response.close();


It is not as in embedded tutorial. 

Next REST API has JSON format to communicate. But how to use it like 
embedded app in java.
http://neo4j.com/docs/stable/rest-api-transactional.html

Your help ll totally appreciated.

Thanks,
Sohail Ahmed

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to