Page 1 of 1

About Question enthuware.ocejws.v6.2.276 :

Posted: Fri Apr 04, 2014 8:31 pm
by himaiMinh
Hi, all.
For this question, do you think JMS is transport protocol neutral and that is why HTTP/HTTPS/FTP/SMTP can be made asynchronous with JMS?

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Sat Apr 05, 2014 3:24 pm
by fjwalraven
No that is not relevant in this case. By putting the request on a message queue you change the synchronous communication into a asynchronous communication.

Regards,
Frits

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Sat Apr 05, 2014 3:27 pm
by himaiMinh
So, that means these transport protocol HTTP/HTTPS/SMTP/FTP all support asynchronous request/response?

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Sat Apr 05, 2014 3:44 pm
by fjwalraven
The request is handled synchronously by the HTTP protocol, because the return code 202 (Acknowledge reception of message) is used. Note that an one-way operation over HTTP doesn't return a response, but has to return a HTTP return code (otherwise it is not synchronous)

The response from the web service is is sent by a (another) one-way request to the reply-to address of the client. Note that this part is again synchronous.

It is not the transport protocol that is important here it is how the request is dealt with on the server that hosts the web service. By offloading the SOAP message on the server onto a Queue makes the Web service asynchronous.

Regards,
Frits

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Sun Nov 08, 2015 7:52 am
by ramy6_1
Hello ,

I have similar question that asking about appropriate approaches can be used in the same situation , If I need to choose two from below :

A.
A synchronous, document style
approach.
B.
A synchronous, procedure style
approach.
C.
An asynchronous, document style
approach.
D.
An asynchronous, procedure style
approach.
E.
HTTP and HTTPS.
F.
SMTP or other asynchronous protocol.

I was thinking that C and F are correct here.
But after reading your description E should be correct also.

What do you think ?

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Sun Nov 08, 2015 2:23 pm
by fjwalraven
Sorry, but I can't answer questions that are not in the QB.

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Mon Nov 09, 2015 3:05 am
by ramy6_1
You already replied here to questions coming from other guys exams and notes.
What I asked is related question with some confusion I needed you to clarify.

Thanks anyway.

Re: About Question enthuware.ocejws.v6.2.276 :

Posted: Mon Nov 09, 2015 7:40 am
by fjwalraven
I don't reply to dump questions. Please stick to the questions in the QB.

Regards,
Frits