• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Have I implemented BusinessDelegate?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic