on 12-05-2008 3:17 PM
Hi SDN,
I just want to call a Java method in my UDF.
How can I do ?
Please reply me...
Thx a lot SDN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi S.P
Stefen already answered this
Its simple
Just bring the java class/package as imported archives(zip/jar) and import the definition while creating the UDF. Thats it !!!
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can follow these steps:
1. Write your library functions class into any Java IDE(for that you need to download the api aii_map_api.jar[Contact with basis team to get this library]).
2.Compile your classes into a jar file.
3. go to the Integration Repository and create a new Imported Archives(inside Mapping Object), the choose you jar file. finally save and active the object.
4.Now you are able to use the classes and their method inside you UDF. for that You need to import the namespace of where your class is.
5. Use you class and methods as you want.
I hope It helps you. If you have any doubt, contact me.
BRegards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- upload the library as external definition
- ínsert an import statement at the top of the UDF
- use the method as usual
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.