Message Driven Bean -> reload jsp

Discussions

EJB programming & troubleshooting: Message Driven Bean -> reload jsp

  1. Message Driven Bean -> reload jsp (4 messages)

    Hello,

    I'm currently developing an application (using Struts, EJB, JBoss) where I send a message to a Message Driven Bean which processes something.
    Then I want to reload a jsp site in order to inform the user, that the job is finished.

    How can I do this in a MDB?
    Are there better solutions?

    thanks
    Stephan
  2. Try using Ajax to notify the users web browser when the MDB has finished processing...

    http://activemq.org/Ajax


    James
    LogicBlaze
  3. thanks for the answer.

    I'm new to Ajax, so may you please give me some links where I can get information concerning my problem?

    Stephan
  4. okey I've done it now with DWR (http://getahead.ltd.uk/dwr/) and it works like a charm.

    Stephan
  5. hi Stephan, I have the same problem as you, would you please let me know how you fixed it. Thank you.