Adding components to StockPortfolio wiring diagram
You will need to open the StockPortfolio assembly diagram to add
a component, an import, an export, and a stand-alone references. Interfaces
are also added to the component and import.
Follow the tasks to add the components to StockPortfolio wiring diagram:
Opening the assembly editor
With the assembly editor, you can visually compose the integrated application by creating components and connecting them with wires. The StockPortfolioModule module assembly will be used to create the assembly diagram.
Adding the StockPortfolio process component
The PortfolioEvaluatorProcess component provides the business logic to retrieve the stock portfolio information for a customer. This service will be implemented as a business process.
Adding the StockQuoteService imported interface
The service provided by StockQuoteService is a Web service. To use this service in the StockPortfolioModule module, you will need to create an import in the assembly diagram.
Adding the stand-alone reference
A JSP will be used to invoke the PortfolioEvaluatorProcess service. Create the stand-alone references which can be used by the JSP to invoke this service.