This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Doubt (Mock Exam) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Doubt (Mock Exam)" Watch "Doubt (Mock Exam)" New topic
Author

Doubt (Mock Exam)

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
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
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3207
    
    5
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


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Thanks Mikalai Zaikin
Juan Pablo Crossley
Ranch Hand

Joined: Oct 16, 2007
Posts: 128
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."


SCJP, SCBCD, SCEA 5, MCP

How to pass SCEA 5 | 2, 3, N-tier which one should I pick? | Analysis of persistence layer from SCEA 5 perspective | Swing... why not?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Doubt (Mock Exam)