Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Library dependecies and design pattern doubts

 
sukhavasi vasavi
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Please give me the answer?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please quote your sources.
[ December 21, 2007: Message edited by: Christophe Verre ]
 
sukhavasi vasavi
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the question from MarusGreen MockTest
 
sukhavasi vasavi
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the question from MarusGreen MockTest
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic