FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Win a copy of
Learn Java with Math: Using Fun Projects and Games
this week in the
Beginning Java
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
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Liutauras Vilda
Bear Bibeault
Junilu Lacar
Martin Vashko
Sheriffs:
Jeanne Boyarsky
Tim Cooke
Knute Snortum
Saloon Keepers:
Ron McLeod
Tim Moores
Stephan van Hulst
Tim Holloway
Carey Brown
Bartenders:
Scott Selikoff
salvin francis
Piet Souris
Forum:
OO, Patterns, UML and Refactoring
My architecture! Please comment it!!
Leandro Oliveira
Ranch Hand
Posts: 298
posted 13 years ago
| |Struts |Facade |Service | | |Client |Action | |Manager |DAO | |Browser |Forms | |(Session |(Hibernate) | | | | |Bean) | | --<-----<-----POJOs------>------->----------- ------------------------------------------------------- SPRINGFRAMEWORK -------------------------------------------------------- * client sends requests, fill forms. * Struts handle receive request. Call the facade. Passes pojos as arguments for the Facade or simple arguments (String, Long...). Example: ClientFacade.updateClientInformation(ClientPojo) or ClientFacade.updateClientInformation(clientId, clientNewNameToUpdate); * Facade access 1 or more Service Managers (same as Session Beans in EJB) Passes pojos * The service manager receives a POJO as argument or simple arguments (String, Long...). Calls DAO to update information passing always pojos. * POJOS (ALMOST DOMAIN OBJECTS FLY THROUGH THE APPLICATION) I would like to have some comments on this architecture. Can you help me see it's weakness!!?
Really thanks
Leandro de Souza Oliveira
[ January 18, 2006: Message edited by: Leandro Oliveira ]
Something about .... going for a swim. With this tiny ad ...
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
Post Reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
architecture
mock question: design pattern
Business Logic in EJB3 SessionBean?
[Session Fa�ade/POJO Fa�ade] VS [Application Service]
Confused about Pet Store controllers and J2EE patterns
More...