Access Keys:
Skip to content (Access Key - 0)

Phase 2: Adding stateful resources to manage stock portfolios


We will now build on top of our simple stock quoting service from Phase 1 to add the ability to manager users stock portfolios. Introduce leverages the WSRF specifications for enabling the creation of stateful grid services. In the grid, just as in the web, state is required to enabling returning to the service or page and remembering information about the caller or the instance data related to that caller. In creating a grid service which is able to manage portfolios we will want this same functionality. We will want one service interface which is capable or creating portfolios, adding stocks to them, and returning quotes for those portfolios. We will use Resources so that we can manage many portfolios through one service interface. These resources will have unique identifiers, like cookies in the web world, that will enable us to retrieve that right resource and act on it.

Last edited by
Knowledge Center (1155 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence