This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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.
 
You get good luck from rubbing the belly of a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic