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 servlets (for...