Fernando, > However, how can I invoke the WS operation to update the > client's data? I mean, if I made one WS at the app, how can I > pass the client's name, phone, etc to the main app without > loosing the component isolation? > > I hope I made myself clear :)
Have you looked at the Cairngorm architecture (you can download from here for now, it'll have a new home soon): http://www.iterationtwo.com/open_source_cairngorm.html The interaction of the Service Locator, Business Delegate and Command pattern allow you to have one service (in the Service Locator), and call that service (via the business delegate) multiple times in specific contexts (via the Commands) and handle the results accordingly. Even if you don't use the framework, the relationship of patterns should suggest an implementation for you that will allow you to achieve what you want. Though it's good practice to have only one definition of your service, I'm curious as to what kind of "tuning" you are trying to achieve ? While I'd say this was a good practice for code clarity and maintainability, I'm not so sure this is going to be a huge performance improvement for you. Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/