Author |
Message
|
Bharat_123 |
Posted: Tue Sep 16, 2008 7:11 am Post subject: Calling Java routine in ESQL(Compute Node) |
|
|
Acolyte
Joined: 15 Sep 2008 Posts: 58
|
Hello
I have situation where i need to call regular java routine which generates a unique number for this application and that need to called in compute node using ESQL.
Is there any procedure to call regular java in ESQL?
Please let me know is that regular java routine needs to convert as jar file. If yes is that jar file should be with .esql file in flow project ?
i looked in the document, that says we can call regular java routine in ESQL. But i looked for the detail document, like how to call and the procedure i could not find any.
Please let me know in detail
Thanks |
|
Back to top |
|
 |
eai_guy |
Posted: Tue Sep 16, 2008 7:53 am Post subject: |
|
|
Voyager
Joined: 18 Oct 2007 Posts: 90
|
Use CALL statement to call external Java function from ESQL. Keep that Java function under a schema in your workspace and make that project as reference. |
|
Back to top |
|
 |
sridhsri |
Posted: Tue Sep 16, 2008 12:20 pm Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
I think you will find this website useful:http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.wmb_v6/wmb/6.0/ApplicationDevelopment/ESQL_Capabilities/Ext_Functions_Java/player.html |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 16, 2008 12:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
No need to generate a unique number in Java.
The broker has some unique id functions and you should look them up in the ESQL documentation.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Bharat_123 |
Posted: Fri Sep 19, 2008 6:56 am Post subject: |
|
|
Acolyte
Joined: 15 Sep 2008 Posts: 58
|
|
Back to top |
|
 |
broker_new |
Posted: Fri Sep 19, 2008 7:05 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
But still Bharat_123 don't you feel curious to find the answer for calling Java Routines ....  |
|
Back to top |
|
 |
|