* The observer pattern. * Maybe you can use an aspect oriented "procedure" - see Spring in Action Part 1, Chapter 3 "Creating aspect" * For the view - Prototype with a periodic updater - Should be eat a lot of memory [...] ... an ajax mapped something.html (use "ajax=true" params) - like this.: inventory.html?action=obtainName&product_id=XXX&ajax=true in order to update an particular DIV id.
Roland G. McIntosh wrote: > I'd like to know if there is a framework or methodology that could > integrate with AppFuse to provide notifications to pages about domain > object update events. Here's the use case, for a "Bookstore" application: > > - 5 regular users are looking at a list of books > - An Admin deletes a book > - at the same time, another admin changes the title of a book > - The regular users' browsers show the changes without reloading. > > The browser for the users looking at the book list (using script) would > have to register their interest in Book events, and the server would > have to send back event notifications. These notifications could > include an updated copy of the object in JSON form for add/update > events, or a primary key for DELETE events. Then script could then > update the view dynamically. > > Does anyone know if something like this has been done in a reusable > manner before, or would I have to grow-my-own, maybe using DWR (for its > reverse-ajax) and jQuery to update the displaytag table somehow ? I'd > appreciate any tips you could give me on how best to accomplish my use case. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Leo Barrientos C. Chief Operating Officer Open Sistemas Chile email: [EMAIL PROTECTED] Fono: +56 2 8912095 Móvil: 93052300 http://www.opensistemas.com Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es usted el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.