Dave, thanks for chiming in here with the good pointers, much appreciated! /peter
G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer <http://twitter.com/peterneubauer> Open Data - @mapillary <http://mapillary.com/> Open Source - @neo4j <http://neo4j.org/> Open Future - @coderdojo <http://malmo.coderdojo.se/> On Sun, Jul 27, 2014 at 9:37 AM, Dave Hallam <d...@castledesigns.co.uk> wrote: > Hi Rodger, > > On the > http://docs.neo4j.org/chunked/stable/tutorials-java-embedded-hello-world.html > page there is a blue bubble which points you to the full source code for > the EmbeddedNeo4j.java example on github that you can refer to. > > Regarding maven, it's a well established and widely used build project > management tool (see http://maven.apache.org/) which tends to use > convention over configuration and well used patterns for things like > project structure - the idea being that, as someone who understands what a > maven project looks like and how it builds, they can understand any other > maven project. > > So, in terms of the documentation on the Neo4j site, I would say that > there is a presumption that you have at least a basic knowledge of java and > maven. Armed with that, you can navigate the wide variety of samples > available on github that neo4j provide or look at other neo4j projects that > others have written and pushed to github, etc. > > I would recommend reading up on Maven to get your head around that - > http://maven.apache.org/guides/getting-started/index.html - then you will > be better able to browse the samples and see what is going on. > > Once you have a simple example up and running, I would suggest pushing it > to a public github repo so that you can both keep it under version control > and also use it as a reference project to ask questions on this group so > that people can see exactly what you are referring to and offer you direct > assistance. e.g. mine is at > https://github.com/dhallam/spring-data-neo4j-demo - it's not a project > with a particular business goal in mind; it's a project that I use to allow > me to reproduce issues that I have encountered in my day job, but in a more > concise and open manner that can be discussed on the forums. > > Dave > > > On Sunday, July 27, 2014 3:11:57 AM UTC+1, Rodger wrote: >> >> Dear NEO4J documentation staff: >> >> >> I'm just a java newbie. Last year, I completed a two months Java >> intensive course, so I'm not totally uninformed. >> >> >> >> In the NEO4J docs, I keep seeing snippets of code, but have no clue where >> they are to go. >> >> >> >> ie: >> http://docs.neo4j.org/chunked/stable/tutorials-java-embedded-setup.html >> >> >> With Maven, it would be very helpful is you would specify that the >> typical file to modify is pom.xml and where that file might be found. >> Once I have the exact filename, it's a big start. Often, I can search my >> Linux hard drive, find a similar file as an example. >> >> >> Yet, on the same page, I see that for Ivy, the docs specify the file: >> ivysettings.xml. Hmm. >> >> >> ---- >> >> >> Even the HelloWorld example, found at: >> http://docs.neo4j.org/chunked/stable/tutorials-java- >> embedded-hello-world.html >> >> does not have a fully working program, just snippets. >> >> >> You can see some of my NEO4J and java struggles here: >> https://groups.google.com/forum/#!topic/neo4j/gp6D-Rnpl5E >> https://groups.google.com/forum/#!topic/neo4j/EWl2p4xMF2U >> >> >> ---- >> >> I would characterize such documentation as good for people who have >> already done these tasks before. And just need a quick reminder, say on >> syntax. >> >> However, for someone like myself, just beginning to write embedded NEO4J >> in Java, this is inadequate. >> >> >> I learn best from a "simple example that works". Once I have the simple >> example, I can usually modify it, and get it to work. >> >> >> Please provide more simple and complete java programs, and all the >> specific steps required to get them to work. >> >> >> Thanks a lot! >> >> >> >> BTW, on my blog, you will find that after I've solved many technical >> issues, for the reader, it's often just a case of simple copy and paste the >> solution. >> http://rodgersnotes.wordpress.com/2011/12/02/getting-domainname-to-work >> >> >> >> -- > 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. > -- 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.