File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Library dependecies and design pattern doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Library dependecies and design pattern doubts" Watch "Library dependecies and design pattern doubts" New topic
Author

Library dependecies and design pattern doubts

sukhavasi vasavi
Ranch Hand

Joined: Jul 18, 2007
Posts: 59
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

Please quote your sources.
[ December 21, 2007: Message edited by: Christophe Verre ]

[My Blog]
All roads lead to JavaRanch
sukhavasi vasavi
Ranch Hand

Joined: Jul 18, 2007
Posts: 59
This is the question from MarusGreen MockTest
sukhavasi vasavi
Ranch Hand

Joined: Jul 18, 2007
Posts: 59
This is the question from MarusGreen MockTest
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Library dependecies and design pattern doubts