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 6884077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:27:46+00:00 2026-05-27T05:27:46+00:00

I have a small JSF web application on WAS7.0 with just one page but

  • 0

I have a small JSF web application on WAS7.0 with just one page but a fairly large user base.

Can i declare all(1) beans as request scope and also use javax.faces.STATE_SAVING_METHOD client without running into memory issues on the server using a non expiring session?

How would that work for larger applications?

Reason: I am trying to work around an issue in WAS7.0 quickly while IBM deals with my PMR.

Edit: At this point i do not have the resources to try and measure it myself and would leave the app as is (hoping not to annoy too many users).

  • 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-27T05:27:47+00:00Added an answer on May 27, 2026 at 5:27 am

    You don’t necessarily need to change the bean’s scope. Just keep the beans in the scope they belong in. Only if you’re abusing session scoped beans to hold request or view scoped data, then the story indeed changes. Request or view scoped data belongs in request or view scoped beans, not session scoped beans. The session scoped beans should only be used to hold session wide data, such as the logged-in user, its site-wide preferences, the chosen language, etc.

    Changing the state saving method from server to client will definitely fix the ViewExpiredException on views whose backing session is been expired. It will decrease server’s memory usage but it will increase server’s network bandwidth usage. But if you’re already using GZIP (or weren’t already; so turn it on as well), then the impact is pretty minor.

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

Sidebar

Related Questions

I have a small JSF application where the user is required to enter some
I have a small web application developed using Icefaces 1.8.2 and jsf 1.1 which
We're developing a data heavy modular web application stack with java but have little
Have small web page at www.peterbio.com/mom/test.htm Someone wrote the code with mouse over and
I have small application using JSF 1.1. It is using NTLM for authentication. What
I have small chess application which consists of cells and boards. When user moves
I'm in the technologies selection phase of a small, single-page web application that will
I have small app in that I manage sales territories. One territory can have
I have a small JSF app and would like to keep some state on
I have small page which has label, DropDownList and a submit button. <div> <asp:label

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.