• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I design my Project using servlets

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody:
I am workin a project called Course Test Manager . It is an application which allows the professors to conduct test and students can take test . I am tryin to implemnt in website , so i can run it in my universoty server for our department purpose. I have done my prototype and it is workin fine .
Can anyone tell me how should i go abt this project to do it in servlets . I am plannin to use HTML forms as i donno how to use jsp and i am runnin out of time . I have only one month more.
Thanks
Siva
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
you didn't mention your requirement clearly. You can ask me any doubts regarding your project. If i able to answer your question, surely i'll do it. Put your doubts in javaranch and send a reminder mail to me.
with regards
Prakash
(prakash.m@db.com)
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Prakash:
Thank you
Okay let me tell my requirements .
This project has two users
1)Professors
2)Students
Use Cases
1)Professor can create Test
-- I have a Test Class whic is a collection of Question Class . Professor can login to the system and create new Test by creating new Questions and store it in the database.
Likewise he can manage , print , delete a test
Just explain to me how should I design this Use case in Internet environment usinh HTML and servlets.
Classes Used
1)Test -- Collection of Question Class
2)Question -- has the question , the choices and the correct answer
3)Course -- has the Test Numbers
4)Professor - has the courses the Professor is teaching that semester
-- then some classes which mainly do the GUI part
Is this information clear
Thank you
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you could use jsp to create the html forms, questions, and other administrative options. servlets could be for database operations.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Brett:
Thank you.
can you suggest any good book for jsp ?
rgds
siva
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jagdeeshan,

Actually u have not specified where r u having a probelem.
Well, I m not really aware about your design but I guess it would be a better idea that u have all questions, options(i.e all answers) and the actual answer in a database. What do u mean by saying that u have added them all in a class? Further in the database keep a field for the correct option also.
Further use a session (for each student taking an exam).
The session can have a USER DEFINED OBJECT which can take care
of:
Number of Question answered.
Which Questions are answered (to avoid duplicacy if u r generating qns randomly).
Marks or Score.
UsderName
:
etc.
I can tell u further only if u specify more about your design or where u r having a probelem.
Regards

[This message has been edited by milan doshi (edited November 15, 2000).]
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Milan:
I am sorry if i am very vague with my design .
As u said i am havin all the details as u said in a database.
Okay let me specific to my problem .
I have three kinds of questions
1)Multiple choice question 2)True/False 3)Short Answer
And i have in a field in my database table which stores the information abt each question type
For my takin test use case I was wonderin how can i generate my HTML page . Is it a good idea to hit the server for each question to generate the HTML form (Question form) or is there any other way i can do this ?
What kind of design will u suggest me ?
Pls help me i am very new to JSP and Servlets. Iam just learning them while doin this project
Tahnk you
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic