Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 40

How can you configure, in a portable way, the number of threads used by a ManagedExecutorService?

    Correct Answer: D

    To configure the number of threads used by a ManagedExecutorService in a portable way, you should configure the thread pool information in the deployment descriptor. This allows the configuration to be applied consistently regardless of the Java EE Product Provider being used.

Discussion
devmsalehOption: D

D is correct answer

LeoAliothOption: D

Should be answer D

kozionovOption: C

not A. ManagedExecutorService doesn’t have method for configure number of threads it should be C or D

orjavaOption: D

Answer D