Announcement Announcement Module
Collapse
No announcement yet.
Session Scope bean when there is no open session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X