• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Part I mock

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic