cancel
Showing results for 
Search instead for 
Did you mean: 

Differences between "Customer Controller", "Component Interface" and ...

0 Kudos
170

Who can tell me the differences between "Customer Controller", "Component Interface" and "Component Controller"?

Thanks in advance.

View Entire Topic
saraswathi_d
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Custom controllers

These are the internal building blocks of a Web Dynpro component and have no user interface. They are only to be used when some unit of functionality is required by several other controllers. For instance, a custom controller could be used, when a BAPI is called, and the information returned requires some sort of intermediate processing before it can be displayed. This custom controller could then be declared for use by several different view controllers. Do not create a custom controller simply because you can! Only use one where its presence will simplify or optimize the component’s architecture.

Component Controller

The component controller is a special custom controller that is automatically created when a component is created. The lifespan of a component is defined by, and equal to, the lifespan of the component controller.

Component Interface: It provides an interface for other components to access its functionality

Regards,

Saraswathi.