Results 1 to 2 of 2

Thread: Please, show me the best way ...

  1. #1
    Join Date
    Jun 2005
    Location
    Milan
    Posts
    32

    Default Please, show me the best way ...

    Hi gurus
    I need your advice for this scenario.
    After user registration, the application must send a confirm email to the user.
    The client call a remote RegistrationEJB, that calls, locally, a MailingEJB for sending email.
    For managing possible error in sending email (smtp server down, for example) I would like to manage an asynchronous call to MailingEJB.
    It is possible to achieve this inside container? Which is the best way, MDB, JMS??
    I'm asking this because I'm a newbie in JMS and MDB.

    Another solution, but maybe not the most elegant, would be manage this scenario with a table into my DB where I store failed emails, and a scheduled bean that sometimes checks this table and try again sending emails.

    I would like to avoid this last solution and manage this scenario with message driven beans or JMS, but I dont know if this is possible inside container, and, mostly, I dont know how

    I googled I little, but I have been not able to find some complete examples for using Spring with MDB.

    Can you give me some advice ?
    Thanks a lot.

    Salud

    Max

  2. #2
    Join Date
    Feb 2005
    Location
    Boston, MA
    Posts
    1,142

    Default

    You might consider looking at Mule. Its a messaging framework to help you create workflows like this.
    Bill

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •