This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

EJB Patterns vs other Design Patterns

 
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could someone explan the difference between EJB patterns and other
design patterns?
Thanks.
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Barry,
I think that we should not try compare EJB and other Design patterns because there is only one thing "design patterns" in general. Now, some of those patterns are applicable to EJBs ONLY (hence we name it EJB patterns) and thats all. They are not comparable items according to me
EJB Patterns describes general pattern based behavior in EJB world and other design patterns describes patterns in non-EJB world.
Thanks
Maulin
 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aren't there some that apply to both, such as the MVC pattern? I think
that's the reason for my confusion.
Thanks,
Barry
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are some design patterns that can be applied to pretty much any
technology - they are completely language and environment agnostic. MVC is one of them.
[ April 28, 2004: Message edited by: Paul Sturrock ]
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB design patterns specifically deal with strategies that make using EJBs efficient, and some of them are antidotes for pitfalls in EJB technology. For instance, Session Facade and ValueObject ( although documented as a J2EE pattern ) were born to address "everything is remote" problem.
It is interesting to note that some of EJB design patterns are mere extensions of GOF design patterns. SessionFacade is actually a specialization of the GOF Facade pattern. So is EJBCommand extending from the GOF Command pattern.
 
reply
    Bookmark Topic Watch Topic
  • New Topic