Question
-Create a gaming products management tool to add/remove/sort games inside the store - Game as an entity should have 4 fields Name Price Quantity in
-Create a gaming products management tool to add/remove/sort games inside the store
- Game as an entity should have 4 fields
Name
Price
Quantity in store
Producer company (like Ubisoft, Bethesda, Naughty Dog)
- Create a UI representation using page scope named bean and GameManagementService with application scope that is responsible for managing the list of games
- Create a data table with games (same we did for witchers) and create a form with one button (Add new game), if such game already exists you need to increase quantity, if not, you need to create new entry with quantity as 1.
- Create an interceptor that logs information each time the new game is added (10 points)
- Create a change quantity form with name of the existing game and quanity to add/subtract, validate that correct game is used
- Perform addition and removal using events, not just by using add() GameManagementService method - Add sorting capabilities to the table, refer to Primefaces showcase basic
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started