Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin


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 ]
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic