PRJ301_-_FA_2024_-_RE_3071.webp
K

PRJ301_-_FA_2024_-_RE_3071.webp

Kizspy | Question: 23
(Choose 1 answer)
You are developing a JSP MVC application for an online shopping platform. Each product has complex pricing logic based on discounts, promotions, and user roles. Describe how you would design the Model to handle this intricate pricing logic efficiently.
A. Embed pricing logic directly in the JSP pages.
B. Delegate pricing logic to a dedicated PricingService class in the Model.
C. Utilize a separate database table for storing pricing rules.
D. Implement pricing calculations within the Controller.

Thông tin

Category
PRJ301
Thêm bởi
Kusakabe2002
Ngày thêm
Lượt xem
8,802
Lượt bình luận
34
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom