Hi folks,
I'm using Whizlabs for training and there's the following question:
An application is written in "C" language. It has to receive documents like PDF from a
Java EE application. What is the best technology that can be used for this? Please select one of the following technologies:
A) JMS
B) JCA (Java Connector Architecture)
C)
SOAP WebService
D) JPA
I would choose between SOAP WebServices/JCA, but in the end I would choose JCA by the following characteristics:
- I would need to provide an "wrapper" implementation for webservice or JCA, so using JCA I would create conditions for connection, transaction and security, and would be more naturally using this to translate files.
- WebServices is not (by default) used for PDF mimetypes, SOAP webservices works essentially with SOAP XML protocol.
But the Whizlabs correct answer is C) SOAP WebService because SOAP provides platform interoperability and JCA,JMS and JPA are not suitable for this
Do you agree guys?