יום ראשון, 3 במרץ 2013

How to add service methods to application module

Hi,
In this post, i will explain how to add service methods to application module.
Basically, we define a method in application module implementation when the method performs a general operation and does not refer to a specific entity or view.

Steps:
1. open application module.
2. go to java options.
3. click at the right side on "edit java options".
4. generate application module class.
5. open the Impl java class of the application module.
6. add a method - you can add parameters and return value.
7. exposed the method to the application module interface instance.
8. now, you can use this method from the application Module client/instance(java)

For example(client):

For example(instance-java):


Eran Tzayzler

אין תגובות:

הוסף רשומת תגובה