Hi!
I dont know how you can do mutual autehnication with server and client. but I 
can give you what I can do loo under your message

--- On Tue, 3/31/09, Erdem Bozdağ <erdemboz...@su.sabanciuniv.edu> wrote:


From: Erdem Bozdağ <erdemboz...@su.sabanciuniv.edu>
Subject: [java ee programming] please, help me for my homework
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Tuesday, March 31, 2009, 3:35 AM




_*Project:*_*
*You will develop a web JavaEE Web Application which offers tests and 
allows users take these tests. Your application will offer only 4 tests 
(java, sql, english and javascript tests).

For each test, there is one table that stores the questions of the test. 
You application will ask these questions one by one (Check the features 
& warnings below).

_*Database:
*_Execute the sql statements in the *hw2.sql. * This script will create 
7 tables (javatest, sqltest, javascripttest, englishtest, scores, login, 
test_durations)


*Examine the system flow from the diagram below.

*Please note that:* The diagram is here only to demonstrate (give an 
idea) how your application page flow looks like. You do not have to 
create all the jsp pages or servlets as it is shown in the diagram. 
(Probably you application will have more pages)



I couldnt solve the (*******) problems.i hope someone help me

_*Features &Warnings; *_


    *

      _Unregistered users __*can not*__ take any of the tests before login._
This is you can do with security check done in lab exercise 4018, I think, 
everything is don trought web.xml and settign Glass Fish users
    *

      _For the unregistered users the test links in the
      __*testlist.jsp*__ shouldn`t be active_
Only users with permision can access to the aplication use web.xml, and sun-web

    *

      _In order to take the test users should be registered. (Each
      column in login table is required) _
*

      _******Only one registered user can take one test at a time.  
      ======> How can I solve this problem
that is done in our lab exercise , for more users you must create thread, use 
listeners
      _

    *

      _******When a registered user selects a test, if someone is taking
      that test at that time, system will show the name of the user and
      remaining time   __ ======> How can I solve this problem_
I think that you solve this problem whit listener which ocure the evant when 
someone want to use aplication and give thise mesage,  I think that you must 
use thread, because it is pararell action,for thise questions use google 
 


    *

      _Do not forget to do input validation both server-side (servlet)
      and client-side (javascript) during the registration process._
This you must somehow ask server to give you certificate, brrrr..., this is not 
in our exercise

    *

      _Test question will be asked one by one_
In every page you have botton continue wich forvard to the onother page, but 
first you have to set answer like attribute to the core objec,tlike: session...

    *

      _After selecting the answer for a specific question user can go
      back and change the answer for that question_ use button back to forvard 
to the previous page, use set attribute to the core before forvard to another 
page, or you can use listener who check is the changes done

    *

      _******If the test duration is finishes, application will end the
      test automatically.  __ ======> How can I solve this problem_
     Meyby you can use thread which sleep during test and activates after some 
time and end test

    *

      _After test ends scores will be inserted into scores table.
      (scores table)_
    You can use database, update the values , and just create the query, then 
use next, and other funcion, and html table to show tha data.

















      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to