• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Part I mock

 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm going through another mock question. Here it is..


You are developing an online shopping store for an art gallery. The company aims to bring fine art to the masses and expects a huge volume of traffic through the site. The site allows customers to pay for goods and arrange delivery methods using credit cards. You have read through the requirements and have a rough design in your head. Which of the following is the most appropriate rough design for this site?


A) Have an Entity Bean to represent the customer. Use a Servlet to manage the users session and use BMT to manage the transactions.
B) Have an Entity Bean to represent the customer. Use a Stateful Session Bean to manage the users session and use BMT to manage the transactions.
C) Have an Entity Bean to represent the customer. Use a Servlet to manage the users session and use CMT to manage the transactions.
D) Have an Entity Bean to represent the customer. Use a Stateful Session Bean to manage the users session and use CMT to manage the transactions.

I took it this way....
The company expects the mass volume of traffic....so scalability is a big requirement here. Hence I ended up selecting B ( assuming its 1.1 and bmt is better than cmt ...its otherwise in 2.0).

Exam says C is currect. Perhaps it considered performance as a major point here.(May be servlets are faster than sfsb)


Although I cant beat the head off on this one, I thought its pretty balanced one!!!

Your thoughts on this one!!! Do you completly agree with question?

Amol
 
Vagner Freitas
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amol,

This is me again!

Entity Beans can use only CMT, then we have to choice between C and D.
As they expect a huge volume of traffic, Servlet is more scalable than SFSB.
Then I think the correct answer is C.
I hope this help.

Vagner
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic