On 02.02.2023 18:18, Sanford Geiger wrote:
*I was wondering whatever happened to <script language=”object rexx”? Do we have anything like
this in 5.0?*
This used to work on Windows and with ooRexx < 4.0 more than ten years ago. The architecture was
Microsoft's ActiveX.
Since then ooRexx got a new kernel (starting with 4.0) which did not include support for the ActiveX
script engine interface. In addition Microsoft has been starting to downplay the ActiveX
infrastructure and has been trying hard to rip out MS InternetExplorer. So even if one would start
to implement the script engine interface it would be of no good.
Now, there is a more interesting area where you can use ooRexx as script engine: in the context of
the Java scripting framework, notabene in JavaFX [1] (allows for portable, great graphical user
interfaces which can therefore employ Rexx as scripting language). You can take advantage of this
infrastructure if you have BSF4ooRexx850 [2] installed (which is an ooRexx-Java bridge, allowing
Java applications to use ooRexx as their scripting language)!
In addition, if you have BSF4ooRexx850 installed you could also use any Java based web server, e.g.
ASF Tomcat [3] or IBM WebSphere and the like to create web applications with RSP (Rexx Server Pages)
by adding [4] to the Java web server. However, currently there is unfortunately a problem in
terminating ooRexx interpreter instances, such that from time to time it crashes. Otherwise it would
be incredibly easy for Rexx programmers to write performant web server applications with this
infrastructure (even off one owns PC).
There are also presentations on ooRexx and JavaFX as well as applying ooRexx with Java based web
servers.
---rony
[1] JavaFX and ooRexx:
<https://www.rexxla.org/events/2017/presentations/201711-ooRexx-JavaFX-Article.pdf>
[2] BSF4ooRexx850:
<https://sourceforge.net/projects/bsf4oorexx/files/beta/20221004/>
[3] Apache Tomcat: <https://tomcat.apache.org/>
[4] TagLib
<https://sourceforge.net/projects/bsf4oorexx/files/Sandbox/rgf/taglibs/ga/>
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel