• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

1z0-807 Mockup Question

 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the question say what kind of application it is?

Even without such info, I would choose JCA because it allows the Java app to connect/communicate with legacy interfaces & API.
 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:Does the question say what kind of application it is?

Even without such info, I would choose JCA because it allows the Java app to connect/communicate with legacy interfaces & API.


No, they just don't say it. And I agree with you.

Whizlabs questions are full of glitches. I've sent 5 corrections and all of them have been accepted. It's funny because you pay 99 dollars and still needs to correct the questions and send the corrections to them because of their low quality.

 
RashmiK Bhojwani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sergio Figueras wrote:
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?


Yes they are right. Infact the exam guide stresses on the fact that if unless its a legacy system transaction involved, don't use JCA.
 
Christian Nicoll
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm (unfortunately) not an expert of JCA, but I would have chosen a "SOAP webservice" approach. Well in the question was shown that one application is written in "C", but does this necessarily mean for you that this one is also a legacy system? Is every application written in C (or assembler) for you a legacy application? Not for me.

I would have chosen the SOAP webservice, because over this approach the two system's wouldn't be tightly connected, and in the future it would also be possible that other systems would be able to easily consume the service. Would JCA offer the system flexibility?

Regards,
Christian
 
RashmiK Bhojwani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Christian Nicoll wrote:I'm (unfortunately) not an expert of JCA, but I would have chosen a "SOAP webservice" approach. Well in the question was shown that one application is written in "C", but does this necessarily mean for you that this one is also a legacy system? Is every application written in C (or assembler) for you a legacy application? Not for me.

I would have chosen the SOAP webservice, because over this approach the two system's wouldn't be tightly connected, and in the future it would also be possible that other systems would be able to easily consume the service. Would JCA offer the system flexibility?

Regards,
Christian


I am actually supporting you saying Webservice is right option. To Tsang's suggestion of using JCA, my views are JCA should be chosen from the list, if and only if its a legacy system you wanna connect to. This legacy system could be DB or have function exposed as a service or queues.

If you read the JCA specifications. They have listed all the scenarios in which all the while they just talk about JCA integration to legacy system only.

One thing I understood is if its heterogeneous then choose webservice, unless they existing functions connected via queues or the question has "asynchronous" keyword in it.

My bad for confusing you

Thanks
Rashmi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic