, running email process in separate thread
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 cu
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
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 you
if you are on jdk 1.5 you may want to check the Executor interface.
Its basically the same pattern, but removes complexity from your code.
http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html
regards
Leon
On 11/21/06, Levan Dvalishvili <[EMAIL PROTECTED]> wrote:
Hi ! thi
4 matches
Mail list logo