Monty,

It's not so much the language as the format of the binary that's important.
ARDBC plugins have to support particular DLL entry points (ARPluginIdentify,
ARDBCCreateEntry, etc) to be called correctly. This will largely be a
function of your Java compiler which may or may not support this.

One other option would be to write a C++ "stub" and use JNI and call the
Java classes/methods you require. This stub would expose the proper entry
points and when invoked by ARS would then, in turn, invoke your Java code to
supply the desired return values. This will at least allow you to put your
main data access logic in your preferred language.

I believe a similar approach is used to support ARS being a Web Service
consumer. The plugin WebService.dll is identified as "ARSYS.ARF.WEBSERVICE"
and is invoked as a Filter Plugin, however, it is dependant on the jvm.dll.
Also, since the WebService.dll has no dependencies on any apparent xml
libraries, it most likely invokes/creates classes and methods housed in the
various websvcXX.jar files to actually manipulate the transfer and receipt
of web service data. Since the plugin architecture is similar between ARF,
AREA and ARDBC, it seems likely such an approach would work for ARDBC.

Hope this helps,

Chris Woyton





-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Monty Hunt
Sent: Thursday, December 14, 2006 10:51 AM
To: [email protected]
Subject: ARDBC - Can it be written in Java instead of C/C++


Hello,
Does anyone know if the ARDBC plugin can be written in JAVA instead of
C/C++. If so does anyone have any examples similar to the ARDBC skelton
provided by Remedy for C?

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to