Creating Application Module-Level Methods for Clients
Application module-level service methods perform complex operations
relating to transactions, multiple view object instances, or the
structure of the data model. For more information, see the related
topics list.
To create application module-level service methods:
-
Open the Application Module Editor by doing one of the following:
-
In the System or Application Navigator, right-click the
application module definition and choose E
dit.
-
On a diagram of business components, double-click the modeled
application module. For more information on modeling business
components, see About
Modeling Business Components.
-
Select the Java node.
-
Ensure that Generate Java File(s)
is checked.
-
Click OK to close the wizard.
-
In the System Navigator, open the application module definition's node
to expose an XML file and a Java file.
-
Right-click the Java file and choose E
dit.
-
Write your service method in the class. Some common operations in
application module-level service methods are:
-
Open the Application Module Editor again.
-
Select the Client Methods node and choose
the methods to export.
If you need further assistance with the Editor, click
Help.
After you complete this procedure, you will be able to
access the method from a client.
Related topics
Creating Business Components Service
Methods for Clients
About
Business Components Service Methods
About Application Modules
Accessing
Data from Clients
About
Modeling Business Components
Copyright © 1997, 2004, Oracle.
All rights reserved.