Which web service technology would you choose to integrate StockTeller into the EBroker application?

StockTeller is a Java-based application designed to retrieve the current market for a
portfolio of publicly listed stocks. You have been tasked to design a bolt on module for
StockTeller called EBroker, a Java E-based online application that needs to asynchronously
communicate with StockTeller to retrieve market prices for securities in a secure manner.
Which web service technology would you choose to integrate StockTeller into the EBroker
application?

StockTeller is a Java-based application designed to retrieve the current market for a
portfolio of publicly listed stocks. You have been tasked to design a bolt on module for
StockTeller called EBroker, a Java E-based online application that needs to asynchronously
communicate with StockTeller to retrieve market prices for securities in a secure manner.
Which web service technology would you choose to integrate StockTeller into the EBroker
application?

A.
JAX-WS using HTTP

B.
JAX-WS using HTTPS

C.
JAX-RPC using HTTP

D.
JAX-RS using HTTPS



Leave a Reply 3

Your email address will not be published. Required fields are marked *


JEEEnthusiastic

JEEEnthusiastic

I think the answer is D.
A does not use HTTP protocol

Ashishkumar

Ashishkumar

Correct Ans : B

Reason : needs to asynchronously
communicate with StockTeller to retrieve market prices for securities in a secure manner.
asynchronously + Security (JAX-WS has inbuilt security)

Ashish

Ashish

Ignore above answer.
I would say D is correct answer reason :

JAX RS with HTTPS

Reason : For Secure Manner , HTTPS is right option. Only need to fetch data (i.e. Read only operation) hence JAX-RS is good option.