Question 44 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question 44 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question

Given:

@Singleton
public class MySessionBean {
// ine
public void callMethod() {
// iexplementation logic
}
//Constcuctor and other business methods

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?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

http://tomee.apache.org/examples-trunk/access-timeout/