JavaEE Question 2
JavaEE Question 2
JavaEE Question 2
b. session.alterAttribute(String name)
c. session.updateAttribute(String name)
d. session.setAttribute(String name)
a. Lifecycle management
b. Communication support
c. Multithreading support
a. session identifier
b. creation time
c. Servlets can use the full functionality of the Java class libraries
d. Servlets execute within the address space of web server, platform independent
and uses the functionality of java class libraries
9. Which of the following statements are correct about the status of the Http response. You can
share the session between threads
a. status of 200 to 299 signifies that the request was successful
d. Type 4 only
b. servlet container
c. web.config
d. http.conf
b. hibernate.config.xml
c. hibernate.cg.xml
d. None
a. Yes
b. No
39. Session.createSQLQuery creates a new instance of Query for the given SQL
query string.
a. true
b. false
40. Which advice is executed only when joint point returns or throws an exception?
a. @Before
b. @After
c. @AfterReturning
d. @AfterThrowing