Given the following client-side code that makes use of the session bean Foo:
10. @EJB Foo beanl;
11. @EJB Foo bean2;
//more code here
20. booleantestl = beanl.equals(beanl);
21. booleantest2 = beanl.equals(bean2);
Which two statements are true? (Choose two)
A.
If Foo is stateful, testl is true, and test2 is true,
B.
If Foo is stateful, testl is true, and test2 is false,
C.
If Foo is stateless, testl is true, and test2 is true.
D.
If Foo is stateful, testl is false, and test2 is false,
E.
If Foo is stateless, testl is true, and test2 is false.
F.
If Foo is stateless, testl is false, and test2 is false.