Solved

product catalog

Posted on 2010-09-06
3
347 Views
Last Modified: 2012-05-10
This is from  SCEA study guide  . I don't understand the problem clearly. Here is the question:

You are architecting an online ordering application with these requirements:

Users access the system over the Internet using HTML.
An email message is sent to the user confirming the order.
Users must log in and are validated using LDAP.
The product catalog is stored in a relational database.
All orders are logged to the internal fulfillment system.
Orders must not be lost.

Which Java EE technology should be used to send orders to the fulfillment system?
A. JNDI
B. JMS
C. JAX-WS
D. RMI-IIOP

My Question:

I don't understand the meaning of this text ..
" ..All orders are logged to the internal fulfillment system..."

what is " internal fulfillment system"  ??  Could you please clarify this line.
0
Comment
Question by:cofactor
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Hegemon
ID: 33610837
I think it means the "order execution / processing" system. The question is about the "order entry" part where the entered orders are stored in the system to be later processed by the fulfillment /execution module.
0
 

Author Comment

by:cofactor
ID: 33624833
Answer is (B)JMS.
I'm not happy with the answer (B).
it said "All orders are logged to the internal fulfillment system"
a database could be used to log the order.  That statement does not induce to take JMS into account.
comments please.

 
0
 
LVL 10

Accepted Solution

by:
Hegemon earned 150 total points
ID: 33628103
Yes it is not very clear but JMS looks the correct answer because:

1. "An email message is sent to the user confirming the order." - this probably implies that order processing resulting in an email being sent has to be done asynchronously due to all possible email-related delays. Even not considering emails, it is probably still desirable to uncouple these two processes - order entry and order processing. The former is likely to finish quickly as the order is entered/logged, the latter can be invoked later and take some time.

2. "Orders must not be lost" - of the offered choices, nothing else offers any persistence solution, while with durable JMS subscription the orders can be persisted. One can argue that it is also possible to persist order at the "other" end of the JAX-WS or RMI communication, but the question is probably about "this" end.

- a database could be used to log the order.
Yes but it is not mentioned as a valid answer.

3. The answer (A) is clearly not a valid choice, the answers (C) and (D) will result in the order entry system (the online ordering application) and the "internal fullfillment system" to be aware of each either or coupled tighter than in case of JMS. At least the online application will need to know something about the internal system's API, WS or RMI. Also I don't know if asynchronous RMI exists, in case of WS, asynchronous calls do not guarantee that the order is persisted/logged.

Just thoughts :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Fibonacci challenge 11 84
groupSum6 challenge 6 35
Free Alternative to JIRA 4 55
Groovy:unable to resolve class error 2 31
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now