You are the architect for a patient management system with an HTMLUI. Currently, it is used by
ward nurses who access the system using dockable tablet computers. The application uses the
HttpSession object to store information.
In phase two of the implementation, nurses will also have access through smart phones. These
phones will use a native client rather than HTML, and will access the same business logic using a
Web service.
Which two are optimal methods to manage conversational state in the new version of the system?
A.
The HTML UI and native clients both use HttpSession objects.
B.
The HTML UI and native clients both use stateful session beans.
C.
The HTML UI and native clients both use stateless session beans.
D.
The HTML UI uses an HttpSession object; native clients create a session management object.
E.
The HTML UI and native clients both use singleton beans.
Wrong – Option E is wrong, if you share state with Singletons every client gets the same state, which would be a disaster. I would have gone for option D
I agree
Agree
AE
A – I think there is not possibility to use an HttpSession object in native client. This is wrong.
B – Using statefull session beans… yes for html client, but in native client? Maybe using a conversational web service (https://docs.oracle.com/cd/E12840_01/wls/docs103/webserv_adv_rpc/conversation.html) Maybe right.
C – Stateless… no conversational. Wrong.
D – I think this is correct. You can code a session management object in the native client to persist user session data. Right.
E – Never, sharing an instance for al clients? I would see your session data. Wrong.
For me, correct answers are B&D, but this is a very open question.
BD
A- correct. URL rewriting works for WAP applications by adding tag to web.xml
B- incorrect. stateful session beans cannot implement web service
C- correct. stateless session beans can implement a web service
D- may be correct
E- incorrect
A and C will work together to achieve the desired goal.
AC
AC is not correct answer. Please ignore…
As per Jacobo comments , B and D may be correct answer.
Some confusion in B option as its partially correct.
Ref :
1) http://www.4easyexam.com/1Z0-807-exam/dumps-2224.html
2) http://www.oraclecertify.com/1Z0-807-exam/questions-1037.html
3) https://www.direct2dumps.com/how-to-pass-oracle-1z0-807-real-exam-in-24-hours-free-practice-test-1-10.html