You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Added in Builder 6.0In front of E2E xUML services we have the service client followed by the E2E service itself. Thus, components serving these clients are called frontend components or frontend services. These E2E frontend services can be further grouped into a logical deployment unit called E2E composite. This is done in the component diagram.

The most simple component diagram is depicted below. It contains a <<E2EComposite>> component. This component is the deployment unit of a set of service components. Each <<E2EComposite>> component may contain several services. The different service types are described in the Service Implementations section, e.g. SOAP, HTTP, JMS, Java, Timer, Scheduler, SAPRFC, etc. Finally, each service contains at least one class realizing the service. For example, SOAP services contain SOAP port types.

Figure: Component Diagram of the HelloWorldExample

Each composite manifests itself as repository file after compilation. This means, after compilation the <projectPath>/repository folder contains the repository file HelloWorldExample.rep. Additionally, each of the logical components can be configured by the use of tagged values. This repository belongs to the category E2E Examples and uses the control port 22020. For further composite attributes see the table below.

After deployment, each composite is started as operating system process. More details about this architecture can be found in Bridge Architecture.

<<E2EComposite>> Attributes

The composite holds the following tagged values:

AttributeTypeDescriptionValueDescription
NameStringName of the composite.
CategoryStringOptional category to group similar xUML services.

ControlPortIntegerPort used by the E2E Bridge to control this xUML service.
VersionStringA service version number.
Class To XML Default Root NameString

Bridge 7 Specify which name to assign to the XML root element upon serializing. This setting can be overridden by using XML composer options as described on classToXML() Operation.

Refer to XML - UML Class Mapping for more information on the topic of XML serialization.
Default

Try to use name and namespace defined on the class by the <<XML>> stereotype. Fallback to Variable Name if not provided (default).

Type Name

Use static name and namespace of the class as name of XML root element.

Variable Name

Use the name of the reference (object/variable) as name of XML root element.

JVM
Read Modeling the Java Components for more information on these tagged values.
Persistent State
Read Persistent State Components for more information on these tagged values.
SAP
SAP Default Connection Pool SizeInteger

Default capacity of a single SAP connection pool (Bridge acting as a SAP client). If undefined, a default of 10 connections will be applied.
Each distinct connection to a SAP system has its own pool. Connections are distinguished by the set of connection parameters (connection string).

You can override the connection pool size for a specific connection on the corresponding SAP alias. On using dynamic SAP access, the default connection pool size is used.

default10
SAP PaddingString

Service-wide setting for SAP values padding. This setting will be applied to all IDoc and SAP adapters within the service.

It is not recommended to use Mixed padding. This option is only available for reasons of backwards compatibility. Mixed padding is default for older services that have been compiled before the implementation of this tagged value, whereas Never is default, if no SAP padding is specified.

NeverNo padding, removes existing padding (default).
AlwaysAlways pad to specified length.
MixedPadding only fields that are not within deep structures.
SAP Server Worker ThreadsInteger

Number of parallel request (workers) the Bridge (acting as an RFC server) can process. If this value is undefined, the Bridge will only process one request at a time (equivalent to sapServerWorkerThreads=1).

Each worker consumes one license slot.

default1
Startup/Shutdown
Startup Shutdown Trace PortIntegerDefault port for tracing startup or shutdown activities is 30000. you can change this default here, if necessary.
Startup ActivityReference to ActivityThe referenced activity is called while starting up before any other component gets invoked - including timers and schedulers.
Shutdown ActivityReference to ActivityThe referenced activity is called when the xUML Runtime is being shutdown.
Test
Read Using Testable Classes for more information on these tagged values.
WSDL
WSDL Per ServiceBoolean
If true (default=false), each xUML service gets its own WSDL file. Additionally, all XML Schema elements and types having the same namespace are put into one schema file. These schema files are imported into the WSDLs to be shared among them. In this case it is also possible to mix RPC/soap-encoded services with Document/literal services.
WSDL NamespaceStringTarget WSDL namespace of the generated WSDL file. Relevant only, if wsdlPerService is false (this is the default).
Soap VersionStringAdded in Builder 6.1 Specify the version of the SOAP protocol you want to use with the service.1.1SOAP version 1.1 (default)
1.2SOAP version 1.2
Resolve InheritanceBoolean

If true, the inheritance hierarchy is resolved into flat messages.

As of Bridge 7, setting resolveInheritance to true is deprecated, because this will generate a different output structure than modeled. It also has hidden requirements to the element uniqueness.
falseKeep inheritance hierarchy. (Bridge 7 default)
trueResolve inheritance hierarchy into flat messages. (before Bridge 7 default)

The component diagrams, the E2E composites, and services artifacts are always found in the same place in all E2E UML models:

Figure: Component View in the Containment Tree

Frontend Components of E2E Builder Version 5.1

  • Deprecated since Builder 6.0

Starting with E2E Builder version 6.0 the use of these frontend components is deprecated.

Component Diagram

The most simple component diagram is depicted below. It contains a <<E2EComposite>> component. This component is the deployment unit of a set of service components. Each <<E2EComposite>> component may contain several services. The different service types are described in the Add-ons chapter. Examples are: SOAP, HTTP, JMS, Java, Timer, Scheduler, SAPRFC, etc. Finally, each service contains at least one class realizing the service. For example, SOAP services contain SOAP port types.

Each of these logical components - composite, service, class - can then be configured by an UML artifact. For instance, each composite manifests itself as repository file after compilation. The filename and some additional parameters can then be configured on the UML artifact manifesting the UML composite component. In the component diagram above, the HelloWorldExample artifact configures the HelloWorld composite. This means, after compilation the <projectPath>/repository folder contains the repository file HelloWorldExample.rep. Additionally, this repository belongs to the category E2EExamples and uses the control port 22020. For further configuration attributes see the table below.

It is important to understand that a composite can be manifested by more than one artifact. This allows to create various deployment instances for each composite. Each composite artifact can then be separately compiled and deployed using the model compiler. For example, the HelloWorldExample composite deployment depicted in the above component diagram is also found in the model compiler view:

Figure: Deployment of Service in Model Compiler

After deployment, each composite is started as operating system process. More details about this architecture can be found in Bridge Architecture.

<<E2EComposite>> Attributes

The composite holds the following tagged values:

AttributeTypeDescription
wsdlPerService

Boolean



If true (default=false), each service gets its own WSDL file. Additionally, all XML Schema elements and types having the same namespace are put into one schema file. These schema files are imported into the WSDLs to be shared among them. In this case it is also possible to mix RPC/soap-encoded services with Document/literal services.

wsdlNamespace

String

Target WSDL namespace of the generated WSDL file. Relevant only, if wsdlPerService is false (this is the default).

startupActivity

Reference to Activity

The referenced activity is called while starting up before any other component gets invoked - including timers and schedulers.

shutdownActivity

Reference to Activity

The referenced activity is called when the xUML Runtime is being shutdown.

<<E2ECompositeDeployment>> Attributes

The composite deployment artifact allows to define the following general tagged values:

AttributeTypeDescription

controlPort

Integer

The control port is used by the E2E Bridge to control the xUML Runtime (see also Service Architecture). The allowed range is 20000 - 29999

category

String

The category groups services in the Bridge.

startupShutdownTracePort

Integer

This port number is used for shadow SOAP port type to trace startup- and shutdown activities. Range is 50000 - 59999. Default = controlPort + 30000.

Additionally, some tagged values configuring the Persistent State machine can be set as well. These tagged values - externalStateDBAlias, storageMedium, and workers - are described in the Persistent State Components and Deployment chapter.

The component diagrams, the E2E composites, services and all manifesting artifacts are always found in the same place in all E2E UML models:

Deployment Diagram

After having created a component diagram, it is now possible to define a deployment diagram, telling the model compiler where to deploy the compiled repository file. The following deployment diagram shows how to deploy the HelloWorldExample repository to localhost. However, instead of localhost one could use every qualified host name being in the Bridge domain .

All deployment diagrams and deployment instances are found in the same place in all E2E UML models: the so called File View. The name derives from the fact that it describes the deployment of the repository files to machine instances. The File View folder looks like:

  • No labels