Re: To be compliant to J2EE, a webapp should not use any thread

Kaleb Pederson <[email protected]> Wed, 26 May 2010 10:04:18 -0700
Newsgroups gmane.comp.programming.refactoring
Message-ID <[email protected]>
Ivo,

That's a good question, but doesn't seem to be directly related to 
refactoring. StackOverflow.com is a good place to ask almost any sort of 
programming question that can be asked directly and that won't need a lot of 
extended discussion. In fact, a question very similar to yours was asked 
recently:

http://stackoverflow.com/questions/533783/why-spawning-threads-in-j2ee-
container-is-discouraged

--
Kaleb Pederson

Blog - http://kalebpederson.com
Twitter - http://twitter.com/kalebpederson

On Wednesday, May 26, 2010 07:53:47 am Alberto Ivo wrote:
> Hi,
> 
> Again, PMD found a violation that I didn't understand.
> 
> In my webapp, I have some task that should run in parallel with other stuff
> the user wants to do.
> 
> But PMD says: To be compliant to J2EE, a webapp should not use any thread.
> 
> So, how should I proceed? Forget this PMD Violation? Or is there any good
> pratice?
> 
> Ivo
> 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/