Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Have I implemented BusinessDelegate?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I have a question about BusinessDelegate pattern.
(I am fresh at patterns and need some help).
I have a session EJB and a jsp page that needs to use this session (actually, I must use a servlet here but I used jsp to learn).
I have created a JavaBean component (Wrapper) that encapsulates the session bean (encapsulate its methods and lookup process).
now, in the JSP page I want to use the session bean :
<jsp:useBean name="Wrapper" ..........>
this bean has decoupled me from services API and encapsulate the business logic.
have I implemented the BusinessDelegate pattern here ?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, that is Business Delegate. In case you haven't figured out by now, using Patterns is not rocket science.
[ June 09, 2004: Message edited by: Chris Mathews ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!