But this requires J2EE Container right?

Levan Dvalishvili 
Support Lead  US
Verticali,Inc
(646) 736 - 6075


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 21, 2006 2:02 PM
To: user@struts.apache.org
Subject: RE: Struts, running email process in separate thread

Levan Dvalishvili asked
> 
> Hi ! this might be little bit not directly related to Struts but since 
> I am doing it in struts I decide to ask here, I have basic email 
> procedure , what I try to achieve is :
> 1) from action to first start separate thread that will send email
> 2) for current thread go the overview page saying your email will 
> arrive shortly,
> 
> Both have to happen same time.
> 
> I could do it with regular thread procedures,  but I was wondering if 
> there is like maybe a design pattern anyone wants to share that 
> already has identified bottle necks? Best Regards.

I use a message-driven bean running in the same appserver.
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/MDB.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to