Possible Duplicate:
Why spawning threads in Java EE container is discouraged?
While reading a java specification document, came across the following statement "In this version of the specification, asynchronous communication mode is not required within a Java EE container environment. The reason is that asynchronous mode support typically requires threads, sockets and so on, which are not allowed within a Java EE component."
Can anyone explain in detail why this is discouraged?
Also, please list the other things that are also discouraged in distributed environment.