• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP or JSF?  RSS feed

Ailsa Cape
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • 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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!