Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8915521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:59:26+00:00 2026-06-15T04:59:26+00:00

I am developing a java application that has to handle multiple uers and their

  • 0

I am developing a java application that has to handle multiple uers and their requests: ie. a user can be created (registered), can be updated (change avatar,…), or add information to his account (like describing his launch).

For do this I have decided to use neo4j, mainly because of its good performance in relationships (the application is “social”).

What I would like to understand, and I’m sure you know the answer, is how to implement multithreading in neo4j.

Here is a little information about my software architecture:

I have neo4j server, then, in my javaApplication I have the neo4j jar that allows me to communicate with the server. The application is divided into layers, each one of which one is a library that is included in the next layer. This means that I just have to re-write a layer and expose the same interface, and no other layer will be affected.

The problem is that with MySql I had a Pool of connections from where I got one and used it in the higher layer; everything was hidden and the JDBC handled concurrency for me.

In neo4j, however I don’t understand how to implement parallelism: is it automatically handled from neo4j? Is that a connection pool?

I think I understand that that I must create a “connection” and that I share the same one with all requests. Is it right?

Are there some best practices to do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:59:27+00:00Added an answer on June 15, 2026 at 4:59 am

    In a Java application and embedded mode, Neo4j is running as part of your application process. You handle threads, and can spawn multiple threads for your traversals and treat Neo4j as a singleton. I you want automatic thread handling, you could use Neo4j Server (over REST) that gives you webserver-liek functionality, including multiple threads.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a Java webservice application (with JAX-WS) that has to use two
I am developing a Java Desktop Application and want a light database that can
I'm developing an application that requires FAST semantic role tagging in java. Can you
I'm developing a java servlet web application that manages information from multiple databases (all
I am developing a client-side Java application that has a bit of functionality that
I'm developing a Java application that has performance at its core. I have a
I'm developing an application that features multiple Swing GUIs. The main GUI has a
I'm developing a Java application using Eclipse. My project has two source directories that
I'm currently developing a GUI for a Java-application that I've created. I would like
I'm developing a Java application that uses java.util.logging for its logging needs. This application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.