fred basset
fred basset

Reputation: 10092

Threads with Spring, wait, notify?

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?

Upvotes: 1

Views: 3832

Answers (2)

Bozho
Bozho

Reputation: 597422

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.

Upvotes: 4

Robert Munteanu
Robert Munteanu

Reputation: 68328

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.

Upvotes: 1

Related Questions