• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh


Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am designing a web page which is a test paper including 100 multiple-choice questions. It must meet two requirements:
A. 10,000 students using this page can take the exam simultaneously.
B. All the questions in this paper should be displayed at once when students log on. In another words, all students should use scroll bar to browse all the questions.
I want to know which one I should use, plain JSP or JSF?

If using JSF, every question will represent a UISelectMany component. So when the exam begins, each student will cause the server to create 100 this kind of component in the memory of the server during his/her own session. The total number of UISelectMany objects will rise to 1,000,000 after the exam starts. Based on this number, the server should have at least 20G RAM, is it right?

If I use plain JSP, then the memory occupied by JSF components will be free. So the size of server´┐Żs RAM can be reduced significantly. Could 2GB do the work? If it could, how about WebWork or Struts framework? Which one is better than plain JSP to fit for the job since I know little about them.

Ailsa Cape
[ May 05, 2007: Message edited by: Ailsa Cape ]
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic