• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

1z0-807 Mockup Question

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic