AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-899





Question ID 4693

ServletContextListeners are invoked in
 

Option A

A.    Random order
 

Option B

B.    contextInitialized and contextDestroyed are invoked in the order in which they are declared in the web.xml
 

Option C

C.    contextInitialized method are invoked in the order in which they are declared in the web.xml and the contextDestroyed method is invoked in the reverse order in which they are declared in the web.xml
 

Option D

D.    contextInitialized and contextDestroyed are invoked in the reverse order of which they are declared in the web.xml
 

Correct Answer C
Explanation


Question ID 4694

A servlet class is injected with a JDBC data source. After injection has occurred, the servlet needs to create a cache out of some of the data in the database, so as to improve responsiveness.
Which two methods can host the cache creation code? (Choose two)
 

Option A

A.    Servlet.init()
 

Option B

B.    Servlet.destroy()
 

Option C

C.    A method annotated with @Init
 

Option D

D.    A method annotated with @PostConstruct
 

Option E

E.    A method annotated with @PreDestroy
 

Option F

F.    A method annotated with @Resource
 

Correct Answer A,D
Explanation

Send email to admin@getfreedumps for new dumps request!!!