Re: [Neo4j] Simple Java Example

2011-11-08 Thread Jim Webber
Hi Mike,

> In order to use Neo4J at all I must:
> 
> install 'GIT'
> git https://github.com/jimwebber/neo4j-tutorial.git (40 mB)
> go through the tutorial

No, I was just offering a pointer to a useful resource to get you going. In 
order to use Neo4j you must download it and configure it in your preferred Java 
toolchain - the tutorial simply shortcuts that.

If you're not keen on grabbing it from Github, then we keep a precompiled 
version of the tutorial here:

http://dl.dropbox.com/u/2530082/koan.tar.gz

The tutorial will get you going with "Hello World" and beyond very quickly. 
It's set up so that it has all the latest jars and so on, so it's ready to go.

Otherwise you can download the database from neo4j.org:

http://neo4j.org/download/

And you can follow the Hello World docs here:

http://docs.neo4j.org/chunked/stable/tutorials-java-embedded-hello-world.html

All the best with your hacking,

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Simple Java Example

2011-11-08 Thread Nigel Small
While not completely polished, I also have a few quick examples in py2neo
to connect from Python through to Neo4j and carry out some simple
activities in a small script; these can also be grabbed from GitHub.

http://py2neo.org/
*
*
*Nigel Small*
Phone: +44 7814 638 246
Blog: http://nigelsmall.name/
GTalk: ni...@nigelsmall.name
MSN: nasm...@live.co.uk
Skype: technige
Twitter: @technige <https://twitter.com/#!/technige>
LinkedIn: http://uk.linkedin.com/in/nigelsmall



On 8 November 2011 17:33, Peter Neubauer
wrote:

> Mike,
> have you looked at
> http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded.html
> for some pointers?
>
> Cheers,
>
> /peter neubauer
>
> GTalk:  neubauer.peter
> Skype   peter.neubauer
> Phone   +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org  - NOSQL for the Enterprise.
> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
>
>
>
> On Tue, Nov 8, 2011 at 5:27 PM, Mike Hampton 
> wrote:
> >
> > So let me make sure I understand.
> >
> > In order to use Neo4J at all I must:
> >
> > install 'GIT'
> > git https://github.com/jimwebber/neo4j-tutorial.git (40 mB)
> > go through the tutorial
> >
> > Just to even try to connect to Neo4J?  This does not satify my
> definition of 'simple'.
> >
> > Most products have a 'HelloWorld' that will allow you to do a very
> simple connect/basic functionality test using the product.
> >
> > Is there any way (just using the Neo4J I already downloaded, installed
> and started) to write a simple, 1 file, java program that connects to
> Neo4J, inserts a node or two, selects them, then disconnects?
> >
> >
> >
> > --
> >
> > Message: 11
> > Date: Tue, 8 Nov 2011 00:46:04 +0100
> > From: Jim Webber 
> > Subject: Re: [Neo4j] Simple Java Example
> > To: Neo4j user discussions 
> > Message-ID: 
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi Mike,
> >
> > Neo4j's default APIs are all Java. Have a look at the Neo4j tutorial
> here:
> >
> > https://github.com/jimwebber/neo4j-tutorial
> >
> > It will take you from the core API right the way through indexing,
> traversers, Cypher, and into the REST API should you want to go that far up
> the stack.
> >
> > And it's already configured to use the latest milestone - you should be
> up and running in a few minutes once you've cloned the git repository.
> >
> > Jim
> >
> > --
> >
> > ___
> > User mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> >
> > End of User Digest, Vol 56, Issue 46
> > 
> >
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Simple Java Example

2011-11-08 Thread Peter Neubauer
Mike,
have you looked at
http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded.html
for some pointers?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Tue, Nov 8, 2011 at 5:27 PM, Mike Hampton  wrote:
>
> So let me make sure I understand.
>
> In order to use Neo4J at all I must:
>
> install 'GIT'
> git https://github.com/jimwebber/neo4j-tutorial.git (40 mB)
> go through the tutorial
>
> Just to even try to connect to Neo4J?  This does not satify my definition of 
> 'simple'.
>
> Most products have a 'HelloWorld' that will allow you to do a very simple 
> connect/basic functionality test using the product.
>
> Is there any way (just using the Neo4J I already downloaded, installed and 
> started) to write a simple, 1 file, java program that connects to Neo4J, 
> inserts a node or two, selects them, then disconnects?
>
>
>
> --
>
> Message: 11
> Date: Tue, 8 Nov 2011 00:46:04 +0100
> From: Jim Webber 
> Subject: Re: [Neo4j] Simple Java Example
> To: Neo4j user discussions 
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
>
> Hi Mike,
>
> Neo4j's default APIs are all Java. Have a look at the Neo4j tutorial here:
>
> https://github.com/jimwebber/neo4j-tutorial
>
> It will take you from the core API right the way through indexing, 
> traversers, Cypher, and into the REST API should you want to go that far up 
> the stack.
>
> And it's already configured to use the latest milestone - you should be up 
> and running in a few minutes once you've cloned the git repository.
>
> Jim
>
> --
>
> ___
> User mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
>
> End of User Digest, Vol 56, Issue 46
> 
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Simple Java Example

2011-11-08 Thread Mike Hampton

So let me make sure I understand.

In order to use Neo4J at all I must:

install 'GIT'
git https://github.com/jimwebber/neo4j-tutorial.git (40 mB)
go through the tutorial

Just to even try to connect to Neo4J?  This does not satify my definition of 
'simple'.

Most products have a 'HelloWorld' that will allow you to do a very simple 
connect/basic functionality test using the product.

Is there any way (just using the Neo4J I already downloaded, installed and 
started) to write a simple, 1 file, java program that connects to Neo4J, 
inserts a node or two, selects them, then disconnects?



--

Message: 11
Date: Tue, 8 Nov 2011 00:46:04 +0100
From: Jim Webber 
Subject: Re: [Neo4j] Simple Java Example
To: Neo4j user discussions 
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Hi Mike,

Neo4j's default APIs are all Java. Have a look at the Neo4j tutorial here:

https://github.com/jimwebber/neo4j-tutorial

It will take you from the core API right the way through indexing, traversers, 
Cypher, and into the REST API should you want to go that far up the stack.

And it's already configured to use the latest milestone - you should be up and 
running in a few minutes once you've cloned the git repository.

Jim

--

___
User mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


End of User Digest, Vol 56, Issue 46


___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Simple Java Example

2011-11-07 Thread Jim Webber
Hi Mike,

Neo4j's default APIs are all Java. Have a look at the Neo4j tutorial here:

https://github.com/jimwebber/neo4j-tutorial

It will take you from the core API right the way through indexing, traversers, 
Cypher, and into the REST API should you want to go that far up the stack.

And it's already configured to use the latest milestone - you should be up and 
running in a few minutes once you've cloned the git repository.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Simple Java Example

2011-11-07 Thread Mike Hampton
Is there a simple example of using neo4j in java?  One that along the lines of 
HelloWorld?

I looked at 
http://docs.neo4j.org/chunked/snapshot/server-java-rest-client-example.html, 
but it apparently requires some code for jetty, and I looked at 
http://docs.neo4j.org/chunked/milestone/server-java-rest-client-example.html, 
but it also requires additional libraries apparently.

I had no problem getting neo4j up and running (I guess, cannot verify), but 
finding an example that compiles is proving difficult.

Is there a simple one-file example of Neo4j usage?

Thanks for any help.


Mike Hampton
Senior Software Engineer
Intelligent Software Solutions
5450 Tech Center Drive
Colorado Springs, CO 80919-2341
Office: 719.234.0655
US Cell: 719.440.4889
Yahoo IM: javamike9
AOL IM: javamike9
Gmail: 
mike.hampton.issinc@gmail.com
Skype: mike.hampton.issinc.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user