Re: [appfuse-user] How to implement an observer in the web layer

2007-07-09 Thread cdtm
Thanks very much for your post. Two more questions: 1. We want to update the webpage a user sees triggered by external events which arrive at a "servicemanagerimpl" manager. This means, rather than having the user poll for new data by refreshing his page in the browser, we would like to have the

Re: [appfuse-user] How to implement an observer in the web layer

2007-07-02 Thread Sanjiv Jivan
I've used Spring event mechanism successfully in propagating events from the service layer to the web layer. Basically have your Controller implement ApplicationListener and in your implmentation of ApplicationListener#onApplicationEvent carry out the logic pertaining to the event you're going to

[appfuse-user] How to implement an observer in the web layer

2007-07-02 Thread mda
Hello, we would like to implement for the course an application with a web interface which gets updated after certain events are received in service layer. We are developing our application based on Appfuse2.0 w. Spring MVC, and we would actually like to have a list of users and their status info