Trade Runtime and Database Usage Characteristics

The table below details each of the high level user operations in the Trade application.

Trade Action Description Complexity HTTP Session DB Activity
(C, R, U, D)
Login User sign in, session creation, market summary Servlet, JSP,
Session EJB
CMP Beans Read, Update, Collections
Create, Update Account: R, U
AccountProfile: R
Quote: RC *3
Logout Use sign-off, session destroy Servlet, JSP,
Session EJB
CMP Bean Read, Update
Read, Destroy Account: R, U
AccountProfile: R
Buy Quote followed buy a security purchase Servlet, JSP,
Session EJB
Message Driven Beans (Queue and Pub/Sub)
Multi CMP Read/Update
Read Quote: R
Account: R, U
Holding: C, R, U
Orders: C, R, U
Sell Portfolio followed by the sell of a holding Servlet, JSP,
Session EJB
Message Driven Beans (Queue and Pub/Sub)
Multi CMP Read/Update
Read Quote: R
Account: R, U
Holding: D, R
Orders: R, U
Register Create a new user profile and account Servlet, JSP,
Session EJB
CMP Bean Creates
Create, Update Account: C, R
AccountProfile: C
Home Personalized home page including current market conditions in a detailed market summary Servlet, JSP,
Session EJB
CMP Bean Read, Collections
Read Account: R
AccountProfile: R
Quote: RC *3
Account Review current user account and profile information along with recent orders Servlet, JSP,
Session EJB
CMP Bean Read, Collections
Read Account: R
AccountProfile: R
Orders: RC
Account Update Account followed by user profile update Servlet, JSP,
Session EJB
CMP Bean Read/Update, Collections
Read Account: R
AccountProfile: R, U
Orders: RCQuote: RC
Portfolio View users current security holdings Servlet, JSP,
Session EJB
CMP Bean Read, Collections
Read Holding: RC
Quote: RC
Quotes View an arbirtray list of current security quotes Servlet, JSP
Cached CMP Bean Read, Collections
Read Quote: RC