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

  • SEARCH
  • Home
  • 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 4033004
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:47:34+00:00 2026-05-20T11:47:34+00:00

I wrote an application that is using beans for creating and storing books(titles,authors etc)

  • 0

I wrote an application that is using beans for creating and storing books(titles,authors etc) to the database. The basic functions for adding and deleting books are implemented in a local stateless bean.

My problem is that I don’t quite get how this would work in a concurrent way. If two users would like to get a handle on the managing bean at the same time would this work by default? And if so how exactly does it deal with concurrent requests?

Thanks

Note: Only creation and deletion should be supported.No editing! So I suppose that there are no conflicts there in terms of writes and reads!

  • 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-05-20T11:47:35+00:00Added an answer on May 20, 2026 at 11:47 am

    There can only be one calling thread per EJB instance at a given time. EJBs are (most of the time) pooled by the container: if two clients call the same method (or different methods on the same EJB type) they will be given different instances by the container or one will have to wait until one instance is ready to handle its call.

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

Sidebar

Related Questions

I wrote an application that inserts some data in a SQlite database using JDBC
(Using WPF) In a small application that I wrote, I am using some count-down
I wrote simple application that using the cell phone camera. When i trying to
I wrote an application that runs some threads using ExecutorService and waits until they
In C# and .NET, I wrote an application that runs in a Form (using
I wrote an application using wxWidgets that uses wxList . I am having some
I wrote an application that installs using the Visual Studio 2010 Setup Project. As
I wrote a flex application that get the host string from the browser using
I have a COM+ application that I wrote using C#. I have the assembly
I wrote some android application that get xml from some service ( using http

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.