Académique Documents
Professionnel Documents
Culture Documents
,. &e need to b$ild an A+P.2E3 application that calls *o$r stored proced$res in a database which each proc takes one second to e.ec$te and then ret$rn a string 2. 3he page needs to call these stored procs in parallel so that the e.ec$tion o* the page sho$ld not take three seconds b$t sho$ld take aro$nd one second. %. 3he page sho$ld display the strings retrieved *ro procs in a table in the page
!. +ince this is a server side application. &e sho$ld not create new threads b$t $se the e.isting threads in the A+P.2E3 pool. #. 3he application sho$ld be designed in s$ch a way that even tho$gh three parallel calls are e.ec$ting only (2E thread is cons$ ed *ro the thread pool.
Instructions
,. 4o$ have *o$r ho$rs to co plete this test 2. A*ter *o$r ho$rs we kindly re)$est yo$ to send $s back the *ollowing1 a. +creenhots b. Pro/ect *iles c. 0atabase script *iles
d. 3race res$lt showing that the available thread co$nt decre ents only one d$ring the e.ec$tion o* the page