• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic