  | 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 | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | 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
|
|
|
  | | | Business Delegate | Business Delegate 2004-04-16 - By George Maggessy
Back I totally agree with u!!!
--- Rob Park <rpark68@(protected)> wrote: > I've used a similar strategy with success in the past, > however I believe > that if the session beans are truly facades (and only > facades), then they > shouldn't have any business logic in them. They should > delegate logic to > other business classes. Therefore, your session beans > (facades) will not / > should not call other session beans (facades). > > This provides a nice POJO entry point for unit testing > without the > container as well. Of course if your using entity beans, > you'd need mocks > or something for them instead. > > ==================================================================== > 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)
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html
==================================================================== 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)
|
|
 |