Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PART I Mock Question on Messaging and Protocol

 
Sonal Ray
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please suggest Whether I am right in the following Question:

Q1. You are developing an application to be used at a major bank. Security is crucial element and you have decided to use JAAS. The GUI will be based on the MVC framework and it uses swing. The application will connect people in the same office so that they can all securely review the same financial data. What protocol should you use to do this?

A. HTTP
B. IIOP
C. JRMP
D. HTTPS

My Ans : Option D.
The point is, if we are using JAAS, shall we go for JRMP?



Q2. Which of the following are advantages of asynchronous messaging architecture?

A. Better use of bandwidth.
B. Supports load balancing.
C. Provides sender with instant response
D. Scalability.

My Ans: Option D. Because as there is no waiting, so it can serve more request
Does it support Load balancing also? Any suggestion


Q3. Which of the following are NOT featurees of synchronous messaging?

A. Both parties must be active to participate.
B. It is unaffected by increases in traffic volumn
C. Message must be acknowledged before proceeding to the next.
D. Message is queued until it is ready for proceeding.

My Ans: Option B. I hope if traffic volume is high, performance will come down.



Thank U
[ November 24, 2005: Message edited by: Sonal Ray ]
 
Vojtech Demjen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1. if the gui is based on swing (not web app) and it is used only by people of the same office, jrmp could be more natural choice than http/https.

Q2. imho messaging supports load balancing. deployments on several nodes can listen to the same queue.
 
Sonal Ray
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Poornima Shankar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1:
Option C is more suited than HTTP/HTTPS since application usage is intranet

Q2:
Network is not jammed by asyncronous mode of messaging hence Option A.
Option D for obvious reason
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic