Results 1 to 2 of 2

Thread: Session Scope bean when there is no open session

  1. #1

    Default Session Scope bean when there is no open session

    This might be a stupid question, but someone please answer this question for me.

    when a bean's scope is declared as session, the container creates a single bean instance per HTTP session.

    What happens if the application doesn't open sessions at all? In this case a new bean is created for every HTTP request?


    Thanks,
    Harish

  2. #2
    Join Date
    Feb 2007
    Posts
    143

    Default

    What happens if the application doesn't open sessions at all?
    What do you man by this? If this is a web application, I think there will be a session created. Others please comment

    Vinaya

Tags for this Thread

Posting Permissions

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