Re: [Neo4j] Neo4j and Java 1.5

2011-05-17 Thread Michael Hunger
Julien, SDG also uses some 1.6 language features (but no classes that were only introduced in 1.6) but I think the impact there would be minimized. It uses AspectJ 1.6.x though, don't know if that relies on Java 1.6 features. Will check with the AJ project lead. I forwarded your request to our

Re: [Neo4j] Neo4j and Java 1.5

2011-05-17 Thread Julien Serdaru
I was considering using Spring Data Graph + neo4j to map my domain objects. Since we have to deploy in multiple environment, I don't want to add an extra layer of requirement for this. Julien. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On

Re: [Neo4j] Problem with integration maven and neo4j

2011-05-17 Thread Michael Hunger
Is your Concept also an interface? Then you might try the same solution. * either annotate Concept with @NodeEntity too. * have Concept extend NodeBacked on itself * elementClass should rather refer to the concrete implementation (this might work with the interface though as it is just used to

Re: [Neo4j] Problem with integration maven and neo4j

2011-05-17 Thread David Montag
Ok, just saw that this was resolved in the other thread. Please ignore this :) David On Tue, May 17, 2011 at 2:22 PM, David Montag < david.mon...@neotechnology.com> wrote: > Hi, > > Is your application available somewhere, e.g. Github, so that we can try > and reproduce the error? > > Thanks, >

Re: [Neo4j] Problem with integration maven and neo4j

2011-05-17 Thread David Montag
Hi, Is your application available somewhere, e.g. Github, so that we can try and reproduce the error? Thanks, David On Tue, May 17, 2011 at 5:49 AM, mujer_esponja wrote: > I have realized that the problem is not blocking. But if somebody could > give > me a solution, it would be apreciated. > T

Re: [Neo4j] Neo4j and Java 1.5

2011-05-17 Thread David Montag
Hi Julien, Have you considered using the stand-alone Neo4j Server? David On Tue, May 17, 2011 at 2:03 PM, Julien Serdaru wrote: > Ok thanks for the info. > I understand your point of view given that Java 1.5 has reached end of > life. > Unfortunately almost all J2EE application servers used in

Re: [Neo4j] Neo4j and Java 1.5

2011-05-17 Thread Julien Serdaru
Ok thanks for the info. I understand your point of view given that Java 1.5 has reached end of life. Unfortunately almost all J2EE application servers used in mission-critical systems in production are still 1.5-based, and have not reached their EOL (websphere...). It just reduces the audience of w

Re: [Neo4j] Color suggestions for the Self-Relationship bike shed

2011-05-17 Thread Tobias Ivarsson
Having an API that changes behavior based on configuration is a very bad idea. It makes the system very hard to work with. On Tue, May 17, 2011 at 8:30 PM, Craig Taverner wrote: > What about a system config enabling/disabling loops? Then we could have > option 1, but for people that never loops,

Re: [Neo4j] Color suggestions for the Self-Relationship bike shed

2011-05-17 Thread Craig Taverner
What about a system config enabling/disabling loops? Then we could have option 1, but for people that never loops, they can still get the extra loop check by setting the system config option. On Tue, May 17, 2011 at 2:01 AM, Stephen Roos wrote: > We are not going to use loops, but would still vot

Re: [Neo4j] Performance Issues with REST API

2011-05-17 Thread Peter Neubauer
Kevin, yes, this is certainly possible, but I would use Java, Javascript or Gremlin to code it since the default REST callbacks are a bit clumsy to use in that case. See Jims mail on how to do it in principle. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone

Re: [Neo4j] Performance Issues with REST API

2011-05-17 Thread Jim Webber
Hi Kevin, There are a few tricks you can use to speed up accessing relations in a supernode (like indexing them). But here I think you could design around it as you've mentioned. I agree with you that "worked with" maybe isn't an explicit relationship in its own right either. It's an emergent

Re: [Neo4j] Performance Issues with REST API

2011-05-17 Thread Kevin Dieter
Peter, Jim, Thanks for the responses. I think the issue is primarily driven by traversals hitting highly connected supernodes. I am definitely interested in options for handling this. As I dig into it, I'm thinking some of the problem may be caused by our graph design that creates many supernod

Re: [Neo4j] GraphRepository parameter

2011-05-17 Thread mujer_esponja
Thanks again MIchael, I can compile my project, but I have still the error on my IDE, even after installing AspectJ plugin on eclipse, as you suggested me in another forum. Anyway, thank you so much -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/GraphRepository-para

Re: [Neo4j] Performance Issues with REST API

2011-05-17 Thread Jim Webber
Hey Kevin, Let's start to sleuth a bit. First question: Is there perhaps a strong correlation between your slow traversals and paths through the graph that touch the highly connected nodes? Jim PS - Ha! I see Peter's just posed the same question! ___

Re: [Neo4j] Performance Issues with REST API

2011-05-17 Thread Peter Neubauer
Kevin, I think there are two scenarios at work here: REST serialization overhead == - are your queries returning a lot of node when you see the performance problems? Part of it can be that the nodes need to be serialized into JSON responses. Paging here would of course help. Ar

Re: [Neo4j] GraphRepository parameter

2011-05-17 Thread Michael Hunger
the problem is that the concrete class is annotated with @NodeEntity thats why the interface MyClass isn't extended to extend NodeBacked for elementClass you should use the concrete class for the repo you might try to have MyClass extend NodeBacked will look into it later today Michael Sent

[Neo4j] Performance Issues with REST API

2011-05-17 Thread Kevin Dieter
Hi, We are using the REST API and are seeing slow performance on some path traversals. First some details about our data: - 500K nodes (each with 1 property) - ~15M relationships (each with a type, plus one or two properties) -- so the 350K nodes are highly interconnected; but some node

Re: [Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Jim Webber
Hi Paul, > Perfect - I hoped as much and thought I'd seen something like that on the > slides of your Skills Matter podcast. Are those slides available for download > as I can't find them on the Skills Matter site? Good point. I've just uploaded them to my website here: http://jim.webber.name

Re: [Neo4j] GraphRepository parameter

2011-05-17 Thread mujer_esponja
Hello, first of all, thanks for answering. If I have understood properly, it should work. Here is MyClass definition: @NodeEntity public class MyClassImpl implements MyClass { ... And my pom.xml, org.codehaus.mojo

Re: [Neo4j] GraphRepository parameter

2011-05-17 Thread Tobias Ivarsson
Hi, Yes, it has to be a special type. Your class has to extend GraphBacked (as clearly stated by the error you are getting). The AspectJ compiler will make your class extend GraphBacked automatically if you have annotated it with either NodeEntity or RelationshipEntity. The error you are experie

Re: [Neo4j] Problem with integration maven and neo4j

2011-05-17 Thread mujer_esponja
I have realized that the problem is not blocking. But if somebody could give me a solution, it would be apreciated. Thanks -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Problem-with-integration-maven-and-neo4j-tp2951847p2952358.html Sent from the Neo4J User List mai

[Neo4j] GraphRepository parameter

2011-05-17 Thread mujer_esponja
Hello!! I have asked another question just a few hours ago, but I am new on neo4j and I need some help. Now the problem is with this class http://static.springsource.org/spring-data/data-graph/docs/current/api/org/springframework/data/graph/neo4j/repository/GraphRepository.html In a declaration I

Re: [Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Paul Bandler
Perfect - I hoped as much and thought I'd seen something like that on the slides of your Skills Matter podcast. Are those slides available for download as I can't find them on the Skills Matter site? Sent from my iPhone On 17 May 2011, at 11:24, Jim Webber wrote: > Hi Paul, > > Neo4j "serve

Re: [Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Jim Webber
Hi Paul, Neo4j "server" is just a remote API around the database engine with a useful (and pretty) Web admin tool. It doesn't fundamentally change the database, since the database is still embedded though it's embedded in "our" process rather than "yours." Which means you can run HA whether yo

[Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Paul Bandler
> Hi, > > I’m just reading up on NEO4J and doing some initial experimentation with its > API’s. Now I understand it can be embedded within an application or used as > a server or server HA/cluster, but is it possible to use it in a HA/cluster > configuration with an application instance hoste

[Neo4j] Problem with integration maven and neo4j

2011-05-17 Thread mujer_esponja
Hello, I have probelms trying to integrate neo4j on my project. @RelatedTo(type = "conceptUriSubject", elementClass = Concept.class) gives me compilation error on my eclipse IDE: (on terminal while making package) -> Type mismatch: cannot convert from Class to Class I asked already in several f