Answer is Business Delegate... I saw the same question in [Moderator's note: The mock exam mentioned illegally uses real questions. The name was removed. - Marc Peabody] also [ May 26, 2007: Message edited by: Marc Peabody ]
Business Delegate is the best choice to reduce the load. I have done the same in one of my project.
Joined: Jan 28, 2004
But as far as i know, Business Delegate is for shielding the web tier that the business object is remote. So in above scenario, if all the business objects are local objects (e.g. local EJBs or some local POJOs), Business Delegate doesnt seem to be applicable? At least, it does not seem to provide any benefit.
This is a [Moderator's note: The mock exam mentioned illegally uses real questions. The name was removed. - Marc Peabody] question and the given answer is business delegate. But, I don't trust their answers and as far as I know, many are wrong. [ May 26, 2007: Message edited by: Marc Peabody ]
javaranch.com hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The javaranch.com business team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the new system.
its Business Delegate i supposed. because the question said about dozens of JSP and must now refactor all the JSPx to work with the new system. From this, and also according to HFSJ page 746, box "Business Delegate principles - minimuze the impact on the web tier when changes occur on the business tier "....so Business Delegate is more relavant to above case. :roll:
Diploma in Computer Studies
Formula 1 app by Maxis (Playbook)