views:

59

answers:

2

Hi All,

I haven't used any of Spring's threading support before. Does it support any high level concept of the Thread class's wait and notify?

+1  A: 

The high-level threading - or rather concurrency - classes for Java are found in the java.util.concurrent package, included in the JRE since Java 5.

Take a look at the package summary and see if it suits your needs.

I don't think that you need something extra which Spring can offer.

Robert Munteanu
there is - integration of the task executors with the spring context - injecting dependencies in them, having them proxied by aop, etc. But for the basic support, you are right.
Bozho
+3  A: 

Yes, see Task Executors and Scheduling. In addition there's this blog post about the simplifications in 3.0, which uses the new Java 5 executor framework.

Bozho