Author |
Message
|
bisu |
Posted: Wed Mar 16, 2005 1:36 am Post subject: How to call JAVA classes from WBIMB v5.0.1.3 |
|
|
 Apprentice
Joined: 05 Jan 2005 Posts: 25 Location: India
|
Hi
I am new to this group and currently working on WBIMB v5.0.1.3. Can anybody tell me how to call the JAVA classes from the ESQL of
Compute node? |
|
Back to top |
|
 |
JLRowe |
Posted: Wed Mar 16, 2005 6:18 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
You need CSD04 to call java from ESQL. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 16, 2005 6:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
bisu |
Posted: Thu Mar 17, 2005 4:09 am Post subject: How to call Java Classes from WBIMB V5.0.1.3 |
|
|
 Apprentice
Joined: 05 Jan 2005 Posts: 25 Location: India
|
timna wrote: |
You need CSD04 to call java from ESQL. |
Ya I have that. I had a try also, but it didn't work. I wrote a java class having a static mehod. Prepared the jar and put into the classes subdirectory of my WBIMB installation path. Then I wrote the ESQL like this
"CREATE PROCEDURE JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"
and
"CREATE FUNCTION JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"
but both of them are not working. In the message flow editor they are showing error.please help. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 17, 2005 5:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you restart your broker after you put your jar in the classes folder?
Did you read the links to documentation posted in the thread I gave the link to?
Does your Create Procedure statement indicate the fully qualified name of your static method? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|