  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: What is the expert pattern? | Subject: What is the expert pattern? 2004-04-29 - By Ram Kishore
Back It comes under GRASP(General Responsibility Assignment Software Patterns) pattern of Larman.
Information Expert (or Expert) pattern.
Solution : Assign a responsibility to the information expert.
Problem : What is the general principle of assigning responsibilities to objects.
v The information expert is the class that has the necessary information to fulfill the responsibility. The information expert pattern is about assigning responsibilities to this class. v The first step to apply this pattern is identify the information expert (s) classes. v If there are relevant classes in the Design Model, this is the place where we should look first. Else we should look in the Domain Model and attempt to use (or expand) its representations to inspire the creation of corresponding design classes. v The fulfillment of a responsibility often requires information that is spread across different classes of objects. v This implies that there are many partial information experts who will collaborate in the task. v With the information expert the information encapsulation is maintained since objects use their own information to fulfill the tasks. This usually supports low coupling. v Behavior is distributed across the classes that have the required information, thus encouraging more cohesive "lightweight" class definitions that are easier to understand and maintain. v Related patterns are low coupling and high cohesion. v The Information Expert should be an early pattern considered in every design unless the design implies a controller or creation problem.
Rgds, Ram.
-- --Original Message-- -- From: An interest list for Sun Java Center J2EE Pattern Catalog [mailto :J2EEPATTERNS-INTEREST@(protected)] On Behalf Of Mylene Reiners Sent: Thursday, April 29, 2004 11:13 AM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: What is the expert pattern?
Found some links on Google... See e.g. http://translate.google.com/translate?hl=en&sl=it&u=http://www.ugolandini.ne t/ExpertPattern.html&prev=/search%3Fq%3Dexpert%2Bpattern%26hl%3Den%26lr%3D%2 6ie%3DUTF-8 (See http://UTF-8.ora-code.com)%26oe%3DUTF-8 (See http://UTF-8.ora-code.com)
(translated from Italian)
Mylene
> -- --Original Message-- -- > From: An interest list for Sun Java Center J2EE Pattern Catalog > [mailto:J2EEPATTERNS-INTEREST@(protected)]On Behalf Of BURKE.Tio > Menendez, Daniel > Sent: 29 April 2004 07:21 > To: J2EEPATTERNS-INTEREST@(protected) > Subject: Re: What is the expert pattern? > > > I'm not really sure but I think this could be just another > name for the > Blackboard Pattern. > > Hope this helps. > > > -- --Mensaje original-- -- > > De: Teresa Canales [mailto:Teresa@(protected)] > > Enviado el: mi?rcoles, 28 de abril de 2004 19:41 > > Para: J2EEPATTERNS-INTEREST@(protected) > > Asunto: What is the expert pattern? > > > > > > I have heard there is a pattern called the expert pattern. I > > haven't found > > any website that talks about it. It is not part of the J2EE Core > > patterns. Does anyone know what this pattern is? > > > > Thanks for you help! > > > > ===================================================================> > Companion Site: http://www.corej2eepatterns.com > > J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns > > List Archive: > > http://archives.java.sun.com/archives/j2eepatterns-interest.html > > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to > > listserv@(protected) > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- --- > Has decidido el mejor precio. Has decidido IBERIA.com > You?ve chosen the best price. You?ve chosen IBERIA.com > -- ---- ---- ---- ---- ---- ---- ---- ---- --- > http://www.iberia.com > > ===================================================================> Companion Site: http://www.corej2eepatterns.com > J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns > List Archive: > http://archives.java.sun.com/archives/j2eepatterns-interest.html > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to > listserv@(protected) >
This e-mail and any attachment is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |