Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-900 Topic 4 Question 79 Discussion

Actual exam question for Oracle's 1Z0-900 exam
Question #: 79
Topic #: 4
[All 1Z0-900 Questions]

Given the following code:

What should you do at line 1 to enable this servlet receive request data without blocking?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Adrianna
9 hours ago
Haha, C is definitely the funniest option. Creating a Callable class and delegating to a ManagedExecutorService? That's some serious overkill!
upvoted 0 times
...
Johnetta
7 days ago
Hmm, I think D is the way to go. Defining an AsyncListener and assigning it to the AsyncContext object sounds like the most appropriate solution.
upvoted 0 times
...
Annett
18 days ago
But using a Callable class with ManagedExecutorService seems more efficient and non-blocking in this scenario.
upvoted 0 times
...
Sharita
18 days ago
B seems like the correct answer here. Defining a ReadListener and assigning it to the request input stream is the way to go for non-blocking request handling.
upvoted 0 times
Emeline
11 hours ago
User 1: I think B is the correct answer.
upvoted 0 times
...
...
Carman
25 days ago
I disagree, I believe the answer is A) Use a Runnable instance with the start() method of AsyncContext.
upvoted 0 times
...
Annett
27 days ago
I think the correct answer is C) Create a Callable class and delegate this operation to a ManagedExecutorService by using the dispatch method of AsyncContext.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77