Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Doubt (Mock Exam)

 
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Question
What are the benefits of asynchronous messaging?

A Less coupling between the sender and receiver.
B Blocks until message is processed
C Suitable for transaction processing
D Network is not required to be available
E Can be implemented using EJB

Choices A, D are correct.

My doubts are
Why Choices E is not correct.

what is meaning of Network is not required to be available?

Thanks
 
Rancher
Posts: 3645
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Gowher Naik:
Hi

Question
What are the benefits of asynchronous messaging?

A Less coupling between the sender and receiver.
B Blocks until message is processed
C Suitable for transaction processing
D Network is not required to be available
E Can be implemented using EJB

Choices A, D are correct.

My doubts are
Why Choices E is not correct.

what is meaning of Network is not required to be available?

Thanks



Hi !

1) Network is not required to be available - it might be not well worded statement, which means that message consumer may be offline when message is sent, and this won't mean messsage lost (should be reliable subscription though).

2) Why Choices E is not correct. If this mock is for old version of SCEA, it assumed EJB 1.1, and probably MDB EJB was introduced later (EJB 2.0, IIRC).

HTH,
MZ
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mikalai Zaikin
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think E is incorrect because it really does not states a benefit of using Asynchronous messaging. maybe this could be rewritten as "The use of MDBs improves the portability of the asynchronous system" or "The use of MDBs as async solution improves the reliability because the server will manage the persistence of the incoming messages."
 
The knights of nee want a shrubbery. And a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic