[Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread eialbur
I like Neo4j and am interested in using it in a number of projects (once I figure out a good way to make Neo play nice in Glassfish) ... but I am confused about something. I apologize if this is a stupid question. My understanding is that Lucene does *not* support transactions. Supposedly that

[Neo4j] Officially supported mechanism for J2EE

2011-07-17 Thread eialbur
I really like Neo, but am concerned that there is so little official company support for J2EE. I want to use Neo as a standard data source in J2EE, with container managed transactions, etc. I don't want to use the REST interface - I want a standard data source interface. There does not appear

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread eialbur
Sorry, but how does this thin layer control how Lucene interacts with the disk (since Lucene isn't transactional). Does it somehow buffer the disk I/O? Does it coerce Lucene to write to a different file and then update the real file at the end of the transaction? I'm not trying to be difficult,

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread eialbur
Lucene itself says it doesn't properly support ACID or XA transaction support. (Bug 1149 - Major - New Feature - Reopened - Unresolved). -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/How-can-you-have-transactions-with-Lucene-tp3176918p3176981.html Sent

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread eialbur
Very Kewl. Thanks Mattias. Can you send your code over to Lucene so they can add effective transactions. I know a number of people use Lucene for full text search in conjunction with MySql, and the lack of transactions is a major issue. Thanks again -- View this message in context:

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-20 Thread eialbur
My understanding of the J2EE standard is that you should *not* do file I/O from inside a bean (my assumption is to avoid issues if you run in a clustered environment). If I access Neo4j directly from a bean, wouldn't I be violating that? I am not currently clustered, and my app is small enough I

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-21 Thread eialbur
I have two projects. One is full-on J2EE using Glassfish. The other is Servlet based, using Tomcat. At this point I am not using Spring or Guice - the only injection I get is the standard J2EE injection for my beans. -- View this message in context:

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-21 Thread eialbur
BTW - I am willing to document what I learn in a cookbook if there are enough people with enough patience to hold my hand as I get everything running. (I wouldn't want to clog up the mail list with the hand holding - especially if I summarize it in a cookbook). -- View this message in context:

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-22 Thread eialbur
Sorry for the quantity of my questions, and I apologize in advance if any of them are trivial or stupid. ok - so I guess that in my Session Bean I would use the regular old @Resource annotation: @Resource GraphDatabaseService graphDb; Or do I need to declare Neo to jndi and then reference it?