Hi Rickard, Thanks for your response. In that case, Can I safely assume that opening a connection will not take time? I do not know why I am seeing a 2-3 sec delay when I call OpenConnection on Neo4j driver in debug build.
On Friday, July 4, 2014 10:40:33 AM UTC+5:30, Rickard Öberg wrote: > > On 7/4/14, 12:42 , Nipun Agarwal wrote: > > I am using JDBC driver for Neo4j in my jersey java web application for > > rest api. The problem is that it takes a lot of time to open a jdbc > > Neo4j connection. For every rest api I am opening a neo4j connection and > > closing it after processing. > > > > Which is the best connection pool I can use here in this scenario. After > > googling I found loads of connection pool apis for java. Which one do > > you recommend > > The JDBC driver for Neo4j uses the REST API, i.e. HTTP calls, so there > is no connection being opened or closed when you create/close JDBC > connections. By default the underlying Apache HttpClient library will be > managing connections anyway. > > -Rickard > > -- > Rickard Öberg > Developer > Neo Technology > Twitter: @rickardoberg, Skype: rickardoberg > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
