--- "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote: > Thanks all. I especially like " Firstly, just in case that EJBs will be > introduced in subsequent phases." > > However, before the discussion goes far from what I initially wanted, let > me ask you this: is your Facade the same as my Session Facade? > I am reading > http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html, > and I think Session Facade itself should be a session EJB, right? >
It really doesn't have to be. The link you sent lists down three advantages of using a Facade object, and only the second one is really EJB-specific. I use Facade objects in my design and only decide later on how the facade will be implemented (ejb or pojo). Either way, you still reduce the coupling between the client and business objects, still expose a uniform interface, and still reduce/eliminate business logic in the client tier. Hubert __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]