Neeraj Mahajan wrote:

I am developing a Java application (commercial). I want to provide a generic scripting programmability extension (SPE) to my application. Using SPE users should be able to write wrappers for scripting languages. For now, COM and python wrappers are under consideration. My application has to work under Windows, Unix variants and MacOS. I have studied various technologies that could be used for SPW including XML-RPC, CORBA, SOAP, JNI etc. I feel that UNO/UDK could provide me a better solution using which I can develop the SPE. I could not find the UNO SDK and Runtime for Mac. Is Mac supported? If not can I make a build for Mac?

Could UNO UDK be used for development of SPE?

I think I would just require the core part (UNO) and not the Openoffice part.

 

Any comments appreciated.

Well, as you are using Java, then I might suggest to look into the Apache BSF (Bean Scripting) project at <http://jakarta.apache.org/bsf>. It is a Java framework for supplying scripting engines to be easily used by Java.

As OOo 2.0.0 started to include a scripting framework written in Java, you can even easily employ that by combining it with BSF.

For an idea you may want to look up BSF4Rexx, which is in beta and which uses that approach to allow multiplatform scriptablity with Rexx and Open Object Rexx (ooRexx) at <http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/current/>. It comes with nutshell examples that demonstrate how one can drive OOo from ooRexx (using BSF under the covers). The sources contain the needed code to plug-in the language to the OOo scripting framework (you'd need to change like ten lines of code to add another BSF supported scripting language to OOo).

HTH,

---rony


Reply via email to