• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Patterns Decision Doubt  RSS feed

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

i�ve been studying for assignment, thus i was thinking to create an structure using j2ee design patterns below and i�d like your comments:

Intercepting Filter -> Front Controller -> Business Delegate -> Session Facade -> Application Service -> BussinessObject -> DataAccessObject

and Service Locator, used for locate home.

Where

Presentation Tier
------------------
Intercepting Filter - filter any request for security
Front Controller - controlling request/response flow
Business Delegate - encapsulating remote�s exception

Bussiness Tier
------------------
Session Facade - grouping many Application Service
Application Service - could be used to group a use-case and business logic in general way, can use many business objects.
Bussiness Object - contain specificaly bussines logic for each entity bean, where i create one BO for each entity when necessary.

Integration Tier
------------------
DAO - for retrieval list using Fast Lane Reader.

thanks
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you think in the integration with the credit card payment ? and the frecuent flier system ? how to model this with your design, paterns to use, etc... ?
And i not understand completly the objetiv of the buseniseObject ... no better to put the logic in the application service objetc ? what is the concrete objetives of echar object in the design ?
in general terms i agree with your design ...
i working in the second part two .. so discus this is very usefully for me ...
 
Anderson Fonseca
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santiago thanks,

An integration with credit card payment and frequent flyer system i could use a application service, it could be called by other application service for payment and mileage if necessary.
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, how do you think to manage DAOs for List retraival and for entities BMP persitent mechanism (fi you chose this aproach) beacause in some case the interaction is

Entities : fron controller -> Bus Delegate -> SessionFacade -> entity ->DAo
and
List retraivals : front controller -> Bus Delegate -> SessionFacade -> Daos

?
Thanks a lot
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!