struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <George.Dinwid...@wellsfargo.com>
Subject RE: Struts, running email process in separate thread
Date Tue, 21 Nov 2006 19:02:16 GMT
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message