Service methods are methods on Oracle ADF Business Components data model components that perform complex operations on data. Clients can call these methods in a single network round-trip, saving processing on the client and reducing network chattiness.
There are three kinds of service methods:
Service methods can use the entire Oracle ADF Business Components client-side API, in addition to some methods that are not available to clients. For more information, see the related topics list.
Application module-level service methods are implemented in an application module's class. They are useful for performing operations across view object instances (that is, across multiple rowsets of retireved data), managing transactions, and dynamically changing the data model. They are also the sole means of communication between clients and service session facades (not to be confused with ordinary session facades), and clients and Oracle ADF Business Components web services. For more information, see the related topics list.
To create an application module-level service method, see Creating Application Module-Level Methods for Clients.
View object-level service methods are implemented in a view object's view object class. They are useful for performing operations across multiple rows from a single view object instance, inserting and deleting rows from a view object instance, and changing high-level features (such as the retrieval mechanism) of a view object. For more information, see the related topics list.
To create a view object-level service method, see Creating View Object-Level Methods for Clients.
View row-level service methods are implemented in a view object's view row class. They are useful for performing complex calculations (such as retrieving and updating values) on a single row of data. View row-level service methods can also traverse view links to obtain master or detail data, and use the retrieved data in their calculations. You can also use view row-level service methods to expose methods from business domain components to clients. For more information, see the related topics list.
To create a view row-level service method, see Creating View Row-Level Methods for Clients.
Exposing Business Components Methods to
Clients
About Application Modules
About View Objects
About View Object Java
Classes
Accessing Data from Clients
Exposing Entity Object Methods to Clients
Copyright © 1997, 2004, Oracle. All rights reserved.