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.
Can someone give explanation for this answer ? Option B is understandable. How does option E help.
A D , E is wrong. Singleton all users will using the same state.
AD
B is not correct for this case as stateful session bean is too heavy for the use case. Even there is no need of explicit transaction management.
Hence I would say A and D
IF need to select 3 answer then ABD…