Show TOC Start of Content Area

Background documentation Composite Application Development Components  Locate the document in its SAP Library structure

Purpose

You create composite application development components to use them as the basis for your business applications in the Composite Application Framework (CAF) environment.

CAF is delivered with a caf.core component, which contains a set of predefined data types and services and is reused in all other applications created with the CAF tools in the SAP NetWeaver Developer Studio.

Application Structure

When you create a new application of Composite Application type, the following development components (DC) are automatically created in CAF:

·        Dictionary

The dictionary DC generated for your application contains table definitions for the business objects and data types that you create. Any changes you make to a business object created in CAF reflect in the tables generated in this application.

When you deploy the CAF application to the Application Server (AS) Java, all tables defined in the dictionary DC are created in the system database schema.

·        EJB Module

CAF reuses the Java Enterprise Edition (EE) 5 runtime in the AS Java. The business objects that you create using the CAF toolset are implemented as entities and session beans, while application services are implemented as session beans only. The EJB Module DC in CAF contains the source code and the compiled code for these objects. The generation of the EJB components happens transparently when you create CAF objects.

·        Metadata

In the metadata DC, the system creates an Enterprise Archive (EAR) file and stores it in the deploy directory of the application you create in CAF. These files contain all metadata of the CAF application, which permits the availability of this information at runtime. Metadata describes, for example, all business objects and application services, relations, and operations.

·        Enterprise

In the enterprise DC, an EAR file contains the compiled code and references to the dictionary and metadata DCs.

·        UME Permissions

A UME permissions DC contains a single descriptor used for restricting access to the application services operations.

More information: Creating Composite Application Development Components

Packages

Within the CAF application, you can organize services, data types and business objects together into packages.

Each CAF application contains the following default packages:

      Modeled – a default package for data that you can manage

¡        Application Services – application services of the development component

¡        Business Objects – business objects of the development component

       Data Types – simple and complex data types as well as the fault messages of the development component

      External – a package containing only external services (remote function calls or Web services) that you can import

You can create new custom packages or multiple level subpackages for your application services, business objects and data types. The packages that you create have the same structure as the Modeled package.

The caf.core Development Component

The caf.core DC contains predefined and commonly-used services and data types that are easy to integrate into any composite application. The services included in the DC and are commonly-used entities that span across an entire application.

The caf.core DC is read-only.

More information: Predefined Services and Data Types

End of Content Area