For this recipe, we will create two portlets, each in a separate portlet application, one to search for stocks and the other to show a list of stocks in a watchlist. When a stock is retrieved in the first portlet, it will provide the option to watch that stock, and if clicked, the stock will be visible within the watchlist by firing a portlet event that the receiving portlet will act on.
The following are required for this recipe:
To create the portlet that will search for stocks, do the following:
gatein.cookbook, Artifact ID:
chapter6-event, and Packaging: ...