Multiple choice technology web technology

Java API for XML based RPC (JAX-RPC)

  1. Can be used to generate server side and client side Java (Web Service) code from a WSDL

  2. Can be used to generate a WSDL from Java (Web Service) code

  3. None

  4. Both

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

JAX-RPC supports both code generation directions: from WSDL to Java (client/server stubs) and from Java to WSDL. This bidirectional support enables both top-down (start with WSDL) and bottom-up (start with Java) web service development approaches.

AI explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Can be used to generate server-side and client-side Java (Web Service) code from a WSDL - This option is correct. JAX-RPC can be used to generate Java code (Web Service) from a WSDL file.

Option B) Can be used to generate a WSDL from Java (Web Service) code - This option is incorrect. JAX-RPC does not provide the functionality to generate a WSDL from Java code.

Option C) None - This option is incorrect. JAX-RPC does have functionalities and can be used for generating server-side and client-side Java (Web Service) code.

Option D) Both - This option is correct. JAX-RPC can be used to generate server-side and client-side Java (Web Service) code from a WSDL.

The correct answer is D) Both. This option is correct because JAX-RPC can be used to generate server-side and client-side Java (Web Service) code from a WSDL.