Business delegate pattern: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
'''Business delegate''' is a [[Java Platform, Enterprise Edition|Java EE]] design pattern.
<ref name=":o_cjp">{{Cite web|url = http://www.oracle.com/technetwork/java/businessdelegate-137562.html|title = Core J2EE Patterns - Business Delegate|date = |accessdate = 22 June 2016|website = Oracle|publisher = Oracle|last = |first = }}</ref> This pattern is directing to reduce the [[Coupling (computer programming)|coupling]] in between business services and the connected presentation-tier, and to hide the implementation details of services (including lookup and accessibility of [[Enterprise JavaBeans|EJB]] architecture).<ref name=":o_cjp"/><ref name=":stdd">{{Cite book|title = Screening Technical Design Document - Version 2.0|last = |first = |publisher = Indiana state|year = |___location = Indiana, USA|volume = |pages = 7}}</ref> Business delegates acts as an adaptor to invoke business objects from the presentation tier.<ref name=":pjeesp">{{Cite book|title = Pro Java EE Spring Patterns|last = Kayal|first = D.|publisher = Apress|year = 2008|___location = New York|volume = |pages = 161–166}}</ref>
 
==Structure==
Line 30:
 
==Sample code==
A sample code for a Professional Services Application (PSA), where a Web-tier client needs to access a session bean that implements the session façadefacade pattern, is provided below.
 
Resource Delegate: