We've run into a big discussion with colleagues about using threads in web-applications in Java.
Their point is that it is not recommended to use threading in Java web applications because they are not managed by the container. Generally, I'm OK with this, because threads may interfere with the container. But, what should one use instead of it if, for example, it is not a Java EE application but a simple servlet-app?