Multiple choice technology web technology

You have been recruited by MegaSoft Inc. to help on a new sales project. Your role within the project team is as the lead architect. Given the requirements set out below, what type of transaction management should you use? MegaSoft Inc. is launching worldwide sports betting site. The unique feature of this betting site is that all bets are spread across multiple sporting events with huge potential prizes. For example, a user may bet $25 on Manchester United beating Real Madrid 4-0, Brazil winning the world cup,and Australia winning the cricket world cup. If a user gets three or more bets correct and one wrong then they will take home a 50% cut of the original stake. Choose one answer.

  1. Container Managed Transactions

  2. Bean Managed Transactions

  3. Container Transactions

  4. Bean Transactions

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The betting scenario requires complex transaction logic spanning multiple independent events (sports matches) with conditional payouts based on partial success. Bean Managed Transactions give you programmatic control over transaction boundaries, allowing you to handle distributed commits and custom rollback logic. Container Managed Transactions work best for simple, localized transactions where the container can manage the lifecycle automatically.