54.6. System Designer

The last step in having everything set up to start coding is to plan the deployment for the remaining offices. You have a system ready to be deployed at the corporate headquarters of your hypothetical company. But your planning application will be run from all the plants. The IT department from one of those plants might create an LDD for you to validate your application as shown in Figure 54-5.

Figure 54.5. Figure 54-5

From your Application Diagram you'll create a new system, selecting the applications you'll need to separate as a new deployment unit. In this case choose PlanningServices, PlanningDatabase, and PlanningClient, and then click Design Application System from the context menu. You will have to add two Web Service Consumer Endpoints to the system boundary and connect them to the existing HR and Manufacturing endpoints. Figure 54-6 shows the end result for the planning system.

Figure 54.6. Figure 54-6

This system will be deployed to each plant, so you need to create new Deployment Diagrams. To do this, right-click the designer surface and select Define Deployment. For this example choose the LDD for a hypothetical plant in Sydney. Figure 54-7 shows the final Deployment Diagram for this plant. You can choose to validate to be sure your new system is compatible with the definitions in this LDD.

Figure 54.7. Figure 54-7

The System Designer will be based on your Application Diagram and will define systems that can be evaluated for deployment. A system is a deployment unit that includes other systems or applications. For each system you can override the application's configuration.

To create a System Diagram you can right-click your Application Diagram and select Design Application System or add a new Distributed System Diagram directly from the solution. With the first option you will start with all the applications already connected; with the second you will start from scratch designing your system. From both options you can remove endpoints and applications and override settings.

You can work in a bottom-up approach as we did in this case, starting from the Application Diagram and then creating the Planning System, or you could have started by defining the systems and subsystems and then their applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.30.19