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?
I'm just here for the memes, not the actual exam questions. But if I had to guess, I'd say A. Anything with 'timeout' in the name sounds like the right choice to me.
Wait, wait, wait... Didn't we just learn about these in class? I think A is the correct answer, but I can't remember why. Ugh, this exam is making my brain hurt!
D. @AccessTimeout (0) sounds like the best option to me. Zero means no timeout at all, so clients can keep trying indefinitely. Gotta keep those connections open!
The correct answer is A. @AccessTimeout (value = 1, unit = TimeUnit.SECONDS) ensures that clients time out immediately when attempting to concurrently invoke callMethod() while another client is already accessing the bean.
Lacresha
2 months agoMargart
2 months agoVanda
26 days agoTesha
29 days agoSelma
1 months agoMelodie
1 months agoReena
2 months agoNohemi
3 months agoAudry
3 months agoRolf
2 months agoTwila
2 months agoFabiola
2 months agoMarci
3 months agoMaybelle
3 months agoAsha
1 months agoPaulina
1 months agoCasie
2 months agoSabina
2 months agoGaynell
3 months agoVanesa
3 months agoKing
3 months agoInes
3 months agoFlo
4 months ago