• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JSP or JSF?

 
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.

Thanks
Ailsa Cape
[ May 05, 2007: Message edited by: Ailsa Cape ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic