Page 1 of 1

About question on enthuware.ocejws.v6.2.277

Posted: Tue Jun 07, 2016 8:13 pm
by Manas Ranjan
What are the correct statements about asynchronous client support in JAX-WS?

In this question the given options are same for both 1st, 2nd and 3rd, 4th. The correct showing 1st and 4th option. But i am unable to understand how these options are correct.

Could you please explain in brief?

Re: About question on enthuware.ocejws.v6.2.277

Posted: Tue Jun 07, 2016 10:47 pm
by fjwalraven
Hi Manas Ranjan!

You are right that the code is the same for both 1st, 2nd and 3rd, 4th. This question tests whether you can differentiate the code that is needed by
- an asynchronous callback client, and
- an asynchronous polling client

The code example in 1 and 2 belongs to an asynchronous callback client, and the code example 3 and 4 belong to an asynchronous polling client. Check also: https://jax-ws.java.net/2.2.1/docs/asynch.html.

Kind regards,
Frits