Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pestore - core j2ee patterns *****  RSS feed

 
ravi appala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
 
patrick jiang
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!