READ Free Dumps For Oracle- 1z0-899
Question ID 4641 | The Squeaky Beans Inc. shopping application was initially developed for a non-distributed environment. The company recently purchased the Acme Application Server, which supports distributed Httpsession objects. When deploying the application to the server, the doployer marks it as distributable in the web application deployment descriptor to take advantage of this feature. |
Option A | A. The J2EE web container must support migration of objects that implement serializable. |
Option B | B. The J2EE web container must use the native JVM Serialization mechanism for distributing HttpSesaion objects. |
Option C | C. As per the specification, the J2EE web container ensures that distributed Httpsassion objects will be stored in a database. |
Option D | D. Storing references to Enterprise JavaBeans components in the HttpSession object might NOT supported by J2EE web contain. |
Correct Answer | A,D |
Question ID 4642 | Given an HttpServletRequest request and an httpServletResponse response: |
Option A | A. session = response.getSession (); |
Option B | B. session = request.getSession (); |
Option C | C. session = request.getSession (true); |
Option D | D. session = request.getSession (false); |
Option E | E. session = request.getSession (“jsessionid”); |
Correct Answer | D |