Java concurrency assignment

I am a Java EE developer and I want to get concurrency development skills.
Could you provide me with some tasks, ideas or others - just for learning and teaching concurrency programming?

+3
source share
4 answers

To start from the beginning of coding, to get an idea of ​​some problems that may arise.

To get started, try writing the following:

  • How would you implement a simple blocking queue?
  • How to stop the flow?
  • How would you guarantee that only one stream can read and write to the collection at a time?
  • What happens if you change a collection while another thread iterates through it.
  • ..

, , concurrency.

+3

Java concurrency, "Java concurrency ". , concurrency.

Java concurrency (Amazon)

+6

concurrency Spring framework 3 Java EE 6 .

, @Async Java EE @Asynchronous.

- concurrency.

Spring, Executor concurrency. Exceutor Java 5 Java concurrency java.util.concurrent .

, Executor Spring. concurrency, concurrency, .

, Java. Executor. , , .

+1

Source: https://habr.com/ru/post/1745080/


All Articles