you could write a cron-job which selects all unacknowledged orders,
processes them, and then acknowledges each order within a transaction.

it doesn't rely on jboss (or ejb for that matter), but there is no way
(that i know of) to do asynchronous processing in ejb 1.1.  (that's why 
message beans were introduced in 2.0 AFAIK).

--e--




On Wed, 13 Feb 2002 15:02:19 +0100, Dirk Storck wrote:

>I can't use MessageDrivenBeans cause we have to use EJB1.1
>
>-----Urspr�ngliche Nachricht-----
>Von: Edward Q. Bridges [mailto:[EMAIL PROTECTED]]
>Gesendet: Mittwoch, 13. Februar 2002 14:54
>An: [EMAIL PROTECTED]; Jboss User (E-Mail)
>Betreff: Re: [JBoss-user] How can I use a background process with JBoss
>
>
>
>why not just send the user an email after the order has been processed?
>
>you could process the order using a message-driven bean that sends an
email
>when completed, since you won't know if the user is still available
after
>processing the order.
>
>HTH
>
>
>
>
>On Wed, 13 Feb 2002 14:16:36 +0100, Dirk Storck wrote:
>
>>How can I achieve this with JBoss and Struts ? What would be the best 
way
>to
>>implement this




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to