You are an enterprise application developer. You are designing a component that will perform the following tasks: Read data from a transaction that accesses multiple data sources.Display a computed result to the user. The component contains the following routines: A routine that displays the returned dataA routine that retrieves the transacted data You want data to be displayed only when the results are complete. You need to design the component to use the threading architecture to optimize performance and to minimize the usage of resources. What should you do?
A.
Ensure that the data display routine is in a separate thread.
B.
Ensure that the data retrieval routine is in a separate thread.
C.
Ensure that both routines are in the main process thread.
D.
Ensure that the two routines are in their own threads separate from the main process thread.