• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Proxy pattern

 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is EJBObject and EJBHome an example of Proxy pattern?
 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought EJBObject for a Session bean can fall under Session Facade pattern because it is an interface to the Session bean. Is this analysis ok ? Also using the same logic, can the same EJBObject for an Entity bean be considered as a Business Delegate pattern ?
Please advise under which pattern EJBObject and EJBHome should fall.
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that SessionBean itself can't be considered as an example of SessionFacade. Because the idea of Facade is to agragate access to several different objects through itself or to faciliate complexity of calls. That means that in a certain architecture it may became SessionFacade but only if it's implemented in this idea in mind. I mean we can't say that any SessionBean implements SessionFacade pattern.
BusinessDelegate is a form of proxying intercommunications btw. cliens and servers (or end-server) and it maybe implemented either by Proxy or Adapter strategy.
EJBHome is a Poxy in pure form.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJBObject for Proxy pattern, EJBHome for Abstract Factory pattern
 
reply
    Bookmark Topic Watch Topic
  • New Topic