Entering content frame

Background documentation Component Build Service Architecture

Architecture

The Component Build Service (CBS) is a J2EE-based database application. The user interface of the CBS is divided into two parts:

·        Activation view and Activation Request view are integrated into the SAP NetWeaver Developer Studio: Developers use them to start the central build of their development components and to monitor the processing of their build requests.

·        The Structure linkCBS Web UI is the interface in which the administration of the CBS mainly takes place.

The architecture diagram shows the elements of the CBS and the services connected to the CBS:

This graphic is explained in the accompanying text

Architecture of the CBS and integration with other services of the SAP NetWeaver Java Development Infrastructure.

·        CBS Request Receiver

The Request Receiver is a J2EE application that accepts requests from the CBS Web UI or from client applications such as the Change Management Service (CMS) or the SAP NetWeaver Developer Studio. The Request Receiver does not execute the requests immediately. It places them into a request queue. A request number is assigned to the request and reported back to the requesting developer. The execution is done later by the CBS J2EE service. The user can use the CBS Web UI or the SAP NetWeaver Developer Studio to query the processing status of the request.

·        CBS Database

The CBS database contains the request queue and the archive pool with the built and imported archives. It also contains data on the buildspaces, the activated development components and the activation state of activities in the DTR.

·        CBS J2EE Service

This is a service in the SAP J2EE engine, which implements the actual build engine. It takes the requests from the request queue and starts a build task for every request to execute the request. The CBS can execute several build tasks in parallel. You can determine this in the settings of the service. For more information, refer to Structure linkAdministration of the Component Build Service Server. Additionally, you can balance the load by operating several server nodes with individual CBS J2EE services in one J2EE cluster, which synchronize using the shared database.

·        Build Directory in the File System

To start the build for a request, the CBS J2EE service first creates a temporary directory in the file system of the server. It copies the source text from the DTR and the required libraries from the archive pool into this directory. In addition, it copies the buildspace-related components of the build environment, the build plug-ins. The build plug-ins are the component-type specific generators and build tools. Since these must be used in the appropriate version, they are part of the buildspace as well and are transported like source code and build results by the Change Management Service. 

·        CBS Build Controller

After preparing the build directory, the CBS J2EE service starts the CBS Build Controller. The CBS Build Controller loads the required build plug-ins and requests them to execute the actual build. The CBS Build Controller is a Java command line application, which is started as a separate process.

·        CBS Web UI

The CBS has a Web Dynpro-based Web interface, which allows users to use the CBS from within a Web browser. For details, see the section “Working with the CBS”.

 

 

 

 

Leaving content frame