About Question enthuware.ocejws.v6.2.276 :

Moderators: Site Manager, fjwalraven

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.ocejws.v6.2.276 :

Post by himaiMinh » Fri Apr 04, 2014 8:31 pm

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?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Sat Apr 05, 2014 3:24 pm

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

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

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

Post by himaiMinh » Sat Apr 05, 2014 3:27 pm

So, that means these transport protocol HTTP/HTTPS/SMTP/FTP all support asynchronous request/response?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Sat Apr 05, 2014 3:44 pm

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

ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

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

Post by ramy6_1 » Sun Nov 08, 2015 7:52 am

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 ?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Sun Nov 08, 2015 2:23 pm

Sorry, but I can't answer questions that are not in the QB.

ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

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

Post by ramy6_1 » Mon Nov 09, 2015 3:05 am

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.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Mon Nov 09, 2015 7:40 am

I don't reply to dump questions. Please stick to the questions in the QB.

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests