Which two statements are true about JAXR support for XML registries? (Choose two.)
A. The CapabilityProfile tells a client the capability level of a registry.
B. UDDI registries must support ebXML to be compatible with JAXR.
C. The UnsupportedCapabilityException is processed for errors from non-Java providers.
D. The JAXR API declares methods as level 0 or level 1.
E. JAXR registry clients present an XML schema that defines the infomodel for the provider.
A company's new investment management Java application and a legacy stock trader application need to communicate, but they use different JMS implementations. A developer decides to implement a JMS bridge to solve the problem. Which two advantages does this pattern provide? (Choose two.)
A. It converts the interface of a class into another interface that clients expect.
B. It decouples an abstraction from its implementation so that the two can vary independently.
C. It dynamically attaches additional responsibilities to an object.
D. It optimizes network traffic.
E. It is vendor independent.
A developer is creating a session bean EJB endpoint for a new application. Which three statements are true about the service? (Choose three.)
A. It needs to be packaged as a WAR file.
B. It needs to be packaged as a JAR file.
C. It needs to be packaged as a .lib file.
D. The class must not be final or abstract.
E. It must implement the javax.ejb.SessionBean or javax.ejb.EntityBean interface.
F. It can be declared an EJB via the @Stateless annotation.
Which three security technologies are included in WS-Security? (Choose three.)
A. security pattern injection
B. encryption
C. single sign-on
D. security tokens
E. digital signatures
RESTful Web services have an interface of well-known standard operations, and all services are accessed through this interface. What are the four standard operations available for RESTful Web services? (Choose four.)
A. GET
B. CONNECT
C. PUT
D. SUBMIT
E. POST
F. HEAD
G. DELETE
Given:
1.
@WebService(name="LogInventory")
2.
public class InventoryReader {
3.
@WebMethod(operationName=check)
4.
@OneWay
5.
public void checkProduct(String name);
6.
@WebMethod
7.
public void addInventory(
8.
@WebParam(name="total") int quantity)
9.
throws InventoryException;
10.
}
Assume the code is free of gross flaws and syntax errors.
Which two statements are true? (Choose two.)
A. Line 8 specifies that addInventory accepts either a valid total or quantity.
B. Line 1 indicates the portType is LoginInventory.
C. Line 3 shows the method is mapped to the WSDL operation called checkProduct.
D. Line 4 means that a method is not expected to return a value unless requested.
E. Line 6 implies WSDL operation and method name are the same.
What are three best practices that can be implemented when generating WS-I Basic Profile compliant Web services? (Choose three.)
A. send arrays of nulls to ensure .NET and Java clients receive the same data
B. define data types early in the integration cycle
C. use complex data types to reduce the number of items exchanged
D. test interoperability at every stage of development
E. insert conformance headers in all SOAP messages
F. keep data types simple for speed and stability
An automobile manufacturer publishes a Web service for use by their suppliers. The manufacturer has stringent security requirements that require suppliers to verify their identity. Data integrity and confidentiality must be maintained between the client and the server. Which two meet all of these requirements? (Choose two.)
A. X.509 and XKMS
B. XACML and XKMS
C. SSL and mutual authentication
D. XML Encryption and XML Digital Signature
E. Private network and XML Signature
Which two statements are true about digital signatures applied to an XML document? (Choose two.)
A. The receiver verifies that the message matches the digital signature using its own private key.
B. The receiver can use an XML Digital Signature for non-repudiation of unsigned data.
C. The sender creates a digital signature using its own private key and sends that signature along with the original document.
D. The sender creates a digital signature using its own public key and sends that signature along with the original document.
E. The receiver verifies that the message matches the digital signature using the sender's public key.
Enterprise A invokes a Web service provided by enterprise B with some parameters, and receives a response. A developer is making this interaction asynchronous so that A does not have to wait for B to finish processing. Which two actions must be taken to fulfill this requirement? (Choose two.)
A. establish a Web service endpoint for enterprise A to receive the response
B. partition the endpoint implementation in to interaction and processing layers so responses can be received independently
C. convert all Web service methods to use XML documents as parameters and return values
D. embed a correlation identifier in the request so that enterprise B can associate the response with it
E. read messages from a queue populated by enterprise B at peak hours when response times are too slow