This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

pestore - core j2ee patterns *****

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone (SCEA) could correct me if i am wrong. I am trying to identify the j2ee patterns in pststore example(1.2 version). Not all of them might be correct..
MainServlet- front controller
ShoppingClientControllerWebImpl - (proxy old) (Business Delegate -new)
ShoppingClientControllerEJB - session facade
RequestProcessor - Application Service?
RequestHandler - ?
Event -contextObject or Transfer Object?
StateMachine- Business Delegate?
StateHandler - Application Service?
XXXModel - Business Object ?
XXXInfoBean - TransferObject or ValueObject?
XXXDAO - DAO
CustomerEJB (1.2 version SFSB) - (Aggregate -old) (compiste - new) ?
OrderEJB (1.2 version EB - BMP) - (Aggregate -old) (compiste - new) ?
FYI - http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm
Thanks,
ravi
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think there are something wrong. I cannot tell you all. But I think I can tell something as following:
MainServlet- front controller
>> yes
ShoppingClientControllerWebImpl - (proxy old) (Business Delegate -new)
ShoppingClientControllerEJB - session facade
>> not sure. but I think it shouldn't be that pattern.
Event -contextObject or Transfer Object?
>> As I remember, Transfer Object=Value Object. Am I correct?
XXXModel - Business Object ?
XXXInfoBean - TransferObject or ValueObject?
>> I think Bussiness Object=EJB Object or some javabean object. And
>> XXXModel could be ValueObject
XXXDAO - DAO
>> I think, DAO pattern should include both XXXDAO and XXXModel.
CustomerEJB (1.2 version SFSB) - (Aggregate -old) (compiste - new) ?
OrderEJB (1.2 version EB - BMP) - (Aggregate -old) (compiste - new) ?
>> They are BO.
 
I've never won anything before. Not even a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic