Re: [Neo] EmbeddedNeo implements NeoService

2008-04-30 Thread Mattias Persson
Ok, great Philip!

2008/4/28 Philip Jägenstedt <[EMAIL PROTECTED]>:
> OK, updated the wiki for you...
>
>  Philip
>
>
>
>  On 4/28/08, Emil Eifrem <[EMAIL PROTECTED]> wrote:
>  > On Mon, Apr 28, 2008 at 1:47 AM, Philip Jägenstedt <[EMAIL PROTECTED]> 
> wrote:
>  >  > I'm back with a more philosophical question.
>  >
>  >
>  > Hey Philip,
>  >
>  >  I'm on a five minute break here so let me jump in real quick!
>  >
>  >
>  >  >
>  >  >  http://wiki.neo4j.org/content/One_Minute_Guide_Complete_Code declares
>  >  >
>  >  >  NeoService neo = new EmbeddedNeo("var/base");
>  >  >
>  >  >  The super-awsome (really) http://wiki.neo4j.org/content/Design_Guide
>  >  >  consistently uses EmbeddedNeo. When writing code, which ought I use?
>  >
>  >
>  > You should absolutely use NeoService. We didn't have NeoService when
>  >  we first wrote the Design Guide and its showing more than a few signs
>  >  of its age. The only time you should directly refer to EmbeddedNeo is
>  >  once, when you invoke it's constructor to start Neo.
>  >
>  >  Cheers,
>  >
>  >
>  >  --
>  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  Neo Technology, www.neotechnology.com
>  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] EmbeddedNeo implements NeoService

2008-04-27 Thread Philip Jägenstedt
OK, updated the wiki for you...

Philip

On 4/28/08, Emil Eifrem <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 28, 2008 at 1:47 AM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  > I'm back with a more philosophical question.
>
>
> Hey Philip,
>
>  I'm on a five minute break here so let me jump in real quick!
>
>
>  >
>  >  http://wiki.neo4j.org/content/One_Minute_Guide_Complete_Code declares
>  >
>  >  NeoService neo = new EmbeddedNeo("var/base");
>  >
>  >  The super-awsome (really) http://wiki.neo4j.org/content/Design_Guide
>  >  consistently uses EmbeddedNeo. When writing code, which ought I use?
>
>
> You should absolutely use NeoService. We didn't have NeoService when
>  we first wrote the Design Guide and its showing more than a few signs
>  of its age. The only time you should directly refer to EmbeddedNeo is
>  once, when you invoke it's constructor to start Neo.
>
>  Cheers,
>
>
>  --
>  Emil Eifrém, CEO [EMAIL PROTECTED]
>  Neo Technology, www.neotechnology.com
>  Cell: +46 733 462 271 | US: 206 403 8808
>  ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] EmbeddedNeo implements NeoService

2008-04-27 Thread Emil Eifrem
On Mon, Apr 28, 2008 at 1:47 AM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
> I'm back with a more philosophical question.

Hey Philip,

I'm on a five minute break here so let me jump in real quick!

>
>  http://wiki.neo4j.org/content/One_Minute_Guide_Complete_Code declares
>
>  NeoService neo = new EmbeddedNeo("var/base");
>
>  The super-awsome (really) http://wiki.neo4j.org/content/Design_Guide
>  consistently uses EmbeddedNeo. When writing code, which ought I use?

You should absolutely use NeoService. We didn't have NeoService when
we first wrote the Design Guide and its showing more than a few signs
of its age. The only time you should directly refer to EmbeddedNeo is
once, when you invoke it's constructor to start Neo.

Cheers,

-- 
Emil Eifrém, CEO [EMAIL PROTECTED]
Neo Technology, www.neotechnology.com
Cell: +46 733 462 271 | US: 206 403 8808
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo] EmbeddedNeo implements NeoService

2008-04-27 Thread Philip Jägenstedt
I'm back with a more philosophical question.

http://wiki.neo4j.org/content/One_Minute_Guide_Complete_Code declares

NeoService neo = new EmbeddedNeo("var/base");

The super-awsome (really) http://wiki.neo4j.org/content/Design_Guide
consistently uses EmbeddedNeo. When writing code, which ought I use?
Reasonable using NeoService is wiser in case you come along with a
RemoteServerNeo or something. Perhaps the examples should be updated?
(Actually, I'm writing because I just spent an our blaming ant for not
being able to build the code I copy pasted together from the above 2
documents).

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