1)which two locations can library dependencies bs defined for a web 1)application(choose two)
a)Web application DD b)/META-INF/dependencies.xml file c)/META-INF/MANIFEST.MF manifest file d)/META-INF/MANIFEST.MF manifest of a JAR in the web application classpath
Actualluy libraries should be in WEB-INF/lib directory. But what is library dependencies and please tell me the answers for this question
2)A developper is designing a web application that makes many finegrainedremote data requests for each client request.During testing the developper discovers that the volume of requests significantly degardes performance of the application. Which design pattern provides a solution for this problem?
According the design pattern notes given for the ranchers I thought that the pattern is BusinnessDelegate.But it was showing as wrong answer.Please give me the answer
3)A company hired an outside consultant to develop the web application.To fininsh the job quickly the consultant creted several dozen JSp pages that diractly communicate with the database.The company business team has since purchased a set of business objects to model their system and the developper charged with maintaining web application must now refactor all the JSPs to work with the new system Which pattern can the developper use to solve this problem?
1) Understanding the Manifest (also see page 583 in HFSJ) 2) Hint: volume of requests = network traffic 3) Hint: "JSp pages that diractly communicate with the database" and "set of business objects to model"... you need to take model logic out of the views... which pattern keeps them separate...
A good workman is known by his tools.
subject: Library dependecies and design pattern doubts