What are the possible pivot-handlers in java webservices?

  1. java:RPC, java:EJB

  2. java:WSDL, java:UDDI

  3. java:eb-xml, java:SOAP

  4. None of the above


Correct Option: A

AI Explanation

To answer this question, we need to understand the concept of pivot handlers in Java web services.

Pivot handlers are used in Java web services to intercept and process SOAP messages between the service provider and the service consumer. They can be used to perform tasks such as logging, security, encryption, and validation.

Let's go through each option to understand which ones are possible pivot handlers in Java web services:

Option A) java:RPC, java:EJB - This option is incorrect. java:RPC and java:EJB are not pivot handlers in Java web services. java:RPC is a style of web service invocation, while java:EJB is a Java Enterprise Edition (Java EE) technology for building scalable and distributed applications.

Option B) java:WSDL, java:UDDI - This option is incorrect. java:WSDL and java:UDDI are not pivot handlers in Java web services. java:WSDL is used to define the service interface and its operations, while java:UDDI is a registry for publishing and discovering web services.

Option C) java:eb-xml, java:SOAP - This option is incorrect. java:eb-xml and java:SOAP are not pivot handlers in Java web services. java:eb-xml is a standard for exchanging business documents electronically, while java:SOAP is a messaging protocol for exchanging structured information in web services.

Option D) None of the above - This option is incorrect. The correct answer is A, as java:RPC and java:EJB are possible pivot handlers in Java web services.

Therefore, the correct answer is A) java:RPC, java:EJB. These options are correct because java:RPC and java:EJB can be used as pivot handlers in Java web services.

Find more quizzes: