Mihir Solanki wrote:
Hi all,
I have started building one application using My Faces.
I wanted to have some layered architecture in my application.
I have completed with the persistence layer and also sort of business layer.
Now my focus is to have a layer in which I can have my faces components, listeners,
Beans etc, that talks to my business layer.
Can anyone suggest me a good design approach using which I can easily develop UI components,
Handling the action/value-change listeners on UI components, make my UI components talk with
Business layer.
Hello:
Jsf together with tiles, commons-chain and struts-shale give you a very clean and powerful layer framework. Here are deliverables:
1) Fast pages with static fragments delivery using Jsf + tiles. The links are done to bypass Jsf cycle.
2) User event processing via multi-stage request/response framework and multi chain of commands using:
2.1) actionListener to analyse user event and pass request to a centrallized portalProcessor.
2.2) The portal processor passes request to backend processing (portletContainer, services, authentication/authorization, DAO, etc)
2.3) portalProcessor receives the response outcome for the next navigation and Jsf UI components that need to be updated to be consistent with their corresponding Domain Objects. This is done via DTO.
3) Request/processing between software containers is achieved via Chain of Resposibility (CoR) and command pattern building on top of commons-chain Agility.
4) Software containers (chain catalog) and their commands (chain, command, filter) are assembled via Spring IoC.
5) Using chain filter, data collection for business intelligence is built in, right at each software component. A chain is a command, so any actionable command comprises of a chain of data collection filter and minimum 1 processing command.
6) Bridging the gap between quick static fragment requests and business processes where user state information must be remembered, we use struts-shale DialogController and ViewController for wizards and workflows.
7) Struts-shale applicationController will have great portential to handle not only http/https requests, but also backend HttpXmlRequest for Ajax. We are also exploring how to handle JMX remote.
For more information http://www.dbgroups.com/docs/architecture.html
Hope that may help.
BaTien DBGROUPS
I have gone through the my-faces examples but, these examples are only useful in a way that how we
Can use my faces components in our application and not giving any detailed on the common design
Approach for the applications using my faces.
If anyone can suggest me some example project (with open source) so that I can refer to it. Any documentation
Is also helpful for me.
Thanks
Mihir Solanki
------------------------------------------------------------------------
//Patni Computer Systems Ltd.//
**/Tel/**// //**/:/**// 91 79 23240905 //**/Ext/**// //**/:/**// 413//
http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail.
_____________________________________________________________________

