A developer is installing a Liberty profile runtimeenvironment on a Windows machine and hasspecified the
following installation path:
C:\IBM\WebSphere
When the installation is finished, in which directory will all of the Liberty profile files be stored?
A. C:\IBM\WebSphere\wlp
B. C:\IBM\WebSphere\server
C. C:\IBM\WebSphere\liberty
D. C:\IBM\WebSphere\profile
A developer is using the WebSphere Server application Developer Tools to convert theirexisting JPA project to an OSGi JPA bundle. The original JPA project has apersistence.xmlfile that is by default located in thesrc/META-INFfolder of the project.
The developer invokes the action to convert the JPAproject to an OSGi bundle project.
Which changes are expected to be performed by the tools to the original project when it isconverted to an OSGi bundle?
A. The MANIFEST.MF file is generated under a newMETA-INFfolder in the root of theproject. The following entry is addedto the MANIFEST.MF file: Meta-Persistence:
B. The MANIFEST.MF file is generated under a newMETA-INFfolder without a Meta-Persistence: Entry
C. The MANIFEST.MF file is generated in thesrc/META-INFfolder which containsthe persistence.xml file. The following entry is added to the MANIFEST.MF file: Meta-Persistence:
D. The MANIFEST.MF file is generated in theBundleContext/META-INFfolder. Thepersistence.xml is moved from the srcfolder to the same location as theMANIFEST.MF.
According to WS-I Basic Profile (BP), which of the following encodings should be used to ensure interoperability?
A. rpc/literal
B. rpc/encoded
C. doc/literal
D. doc/encoded
A developer is creating a JAX-WS Web service. The Web service will be used to sendcheque image file
from the provider to the requestor. Given the following extract:
@MTOM(enabled=true, threshold=50)
@Web Service(name="Image Service",
target Namespace="http://com.test.ImageService")
public class Image Provider {
What does the threshold parameter indicate?
A. The minimum number of attachments that can be sent in the message
B. The maximum number of attachments that can be sent in the message
C. The maximum size in bytes for each attachment to be sent using MTOM.
D. The minimum size in bytes for each attachment before MTOM is used. Smaller attachments will use base64 inline encoding.
E. The maximum size in bytes for each attachment before MTOM streams to disk. Smaller attachments will keep the attachment in-memory.
A bank would like to design a JAX-WS Web service to transfer funds. The server will be deployed to IBM Web Sphere Application Server V7.0.Two key requirements are to ensure:
1) the request is only sent once 2) cross vendor interoperability
What is the best way to accomplish this?
A. Use WS-Security
B. Use WS-Atomic Transaction
C. Use WS-Reliable Messaging
D. Add a handler to implement the duplication detection logic
E. Implement application code in the Web service to detect duplication
A user wants to specify the WSDL style of a newJAX-WS Web service based on a JavaBean. Using the Web service generation wizard, which of the following are valid combinations?
A. RPC Encoded
B. RPC Wrapped
C. Document Bare
D. Document Literal
E. Document Wrapped
A. It will specify the WSDL location in the generated artifacts.
B. It will specify the location of the WSDL from which to generate the Web service client artifacts
C. It will specify the relative location of the WSDL file from which to generate the Web service client artifacts
D. It will ensure that the WSDL is packaged appropriately in the EAR file.
Weather Web service is configured under the WeatherBeanWeb context. From the diagram in the exhibit, what is the correct URI for TCP/IP Monitor to work?
A. http://localhost/WeatherBeanWeb/services/Weather
B. http://localhost:9083/WeatherBean/services/Weather
C. http://localhost:9090/WeatherBean/services/Weather
D. http://localhost:9083/WeatherBeanWeb/services/Weather
E. http://localhost:9090/WeatherBeanWeb/services/Weather
A developer is writing a Web service operation namedgetQuote?Select the proper code to obtain the HTTP Query String used in the request:
A. public String get Quote (String input String, Message Context mc) { mc.get (MessageContext.QUERY_STRING); ...
B. public String get Quote (String input String, WebServiceContext wc) { wc.getMessageContext().get (MessageContext.QUERY_STRING); ...
C. @Resource private WebServiceContext context; Public String get Quote (String input String) { context.getMessageContext().get(MessageContext.QUERY_STRING); ...
D. @WebServiceContext private WebServiceContext context; Public String get Quote (String input String) {context.getMessageContext().get(MessageContext.QUERY_STRING); ...
E. @Resource private Resource context; Public String get Quote (String input String) { ((Message Context)context).get(MessageContext.QUERY_STRING); ...
Which of the possible files can be used to modify the mappings from WSDL to Java for a JAXWS- based application?
A. WSDL
B. XML schema
C. JAX-B binding file
D. JAX-WS binding file
E. JSR 109 mapping metadata file