Hi.

 

Interesting question...

 

How about that you write a entry in database table after order processing with status. Now every struts action should check it and if order id matches order id of current user, it can notify him. This is server-pull, since you pull data from server and its only checked on clicks. You can simulate server push, in this way that client constanty checks throug .do -> ejb-> db for order processing status. After status is ok, it writes javascript message or redirects or something. For this you need frame or iframe and there javascript which every 15 seconds or something refreshes itself - to .do action of course.

 

What do you think?

Reply via email to