Results 1 to 3 of 3

Thread: Are Beans Shared?

  1. #1
    Join Date
    Sep 2008
    Posts
    5

    Default Are Beans Shared?

    I've created a jdbctemplate been and it seems like beens are shared. Is there a way to specify that each client(person connecting to the site) should get their own bean rather than have them share a bean?

  2. #2

    Default

    The default bean scope in Spring is "singleton" which means that beans are shared.
    You'd be better off if you ask these questions on the appropriate forum (Core Container or Data Access depending on what you want to do).
    Tareq Abedrabbo

    My Twitter
    My Blog

  3. #3
    Join Date
    Sep 2008
    Posts
    5

    Default

    Thanks just needed the terminology I will look this up on my own now thanks a lot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •