Home » Oracle » 1z0-900 » Which annotation do you use on line 1 to ensure that clients immediately time out when attempting to concurrently invoke callMethod () while another client is already accessing the bean?
Given:
Which annotation do you use on line 1 to ensure that clients immediately time out when attempting to concurrently invoke callMethod () while another client is already accessing the bean?
A. @AccessTimeout (value = 1, unit = TimeUnit.SECONDS)
B. @AccessTimeout (null)
C. @AccessTimeout (-1)
D. @AccessTimeout (0)
Correct Answer: D
Explanation/Reference:
Reference: http://tomee.apache.org/examples-trunk/access-timeout/
Download Printable PDF. VALID exam to help you PASS.
|
|