Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cracking the IT Architect Interview

You're reading from   Cracking the IT Architect Interview The ultimate guide to successful interviews for Enterprise, Business, Domain, Solution, and Technical Architect roles as well as IT Advisory Consultant and Software Designer roles

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781787121690
Length 372 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Sameer Paradkar Sameer Paradkar
Author Profile Icon Sameer Paradkar
Sameer Paradkar
Arrow right icon
View More author details
Toc

Solution architecture - scenario Q and A

You are creating a website to sell fine art to the rich and famous. You are only expecting to make one or two sales per week. Considering you require the system to be both secure and provide support for the transactions, which of the following describes the most appropriate architecture?

Please select from the following options:

  • A. Use JSP/servlets for presentation, EJBs for business logic, and an enterprise database.
  • B. Use JSP/servlets for presentation, EJBs for business logic, and a small-scale database.
  • C. Use JSP/servlets for both presentation and business logic and JTS for the transactions.

Here is an explanation of the answers:

Choice C is the correct answer.

Although the scenario states that the application must be both secure and provide support for transactions, due to the low number of sales expected there is no justification for using an application server. Instead, it is more appropriate to use JTS (for the transactions) and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime