You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by ro...@apache.org on 2006/09/16 19:29:26 UTC
svn commit: r446902 [2/2] - in /jakarta/bsf/trunk: AUTHORS.txt CHANGES.txt
RELEASE-NOTE.txt docs/bsfnews.html docs/projects.html docs/resources.html
xdocs/projects.xml xdocs/resources.xml xdocs/stylesheets/templates.vm
Modified: jakarta/bsf/trunk/xdocs/resources.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/xdocs/resources.xml?view=diff&rev=446902&r1=446901&r2=446902
==============================================================================
--- jakarta/bsf/trunk/xdocs/resources.xml (original)
+++ jakarta/bsf/trunk/xdocs/resources.xml Sat Sep 16 10:29:25 2006
@@ -4,6 +4,7 @@
<properties>
<author email="bodewig@apache.org">Stefan Bodewig</author>
<author email="chuck@topsail.org">Chuck Murcko</author>
+ <author email="rony@apache.org">Rony G. Flatscher</author>
<title>Resources</title>
</properties>
@@ -194,6 +195,330 @@
</subsection>
+
+ <subsection name="The Augsburg Version of BSF4Rexx">
+ <p>
+ "BSF4Rexx", the Bean Scripting Framework for Rexx, allows one to use the Rexx
+ and Object Rexx programming languages with the open source Bean Scripting
+ Framework (BSF) which enables Java programs to easily invoke scripts and
+ programs written in another language than Java. This article introduces the
+ "Augsburg version" of BSF4Rexx which incorporates numerous changes and as a
+ main feature the ability to start Java from Rexx programs. This way all of Java can
+ be viewed as a huge external Rexx function library from the perspective of Rexx,
+ available on any platform Rexx is available. This paper gives a bird eyes view of
+ BSF4Rexx concentrating on this latter ability and introducing Rexx programmers
+ informally to Java and to the most important object-oriented terms such that the
+ unacquainted Rexx and Object Rexx programmer becomes able to read the Java
+ documentation and as a result apply BSF4Rexx to allow (Object) Rexx to use and
+ drive Java.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td><a href="mailto:rony@apache.org">Rony G. Flatscher</a></td>
+ </tr>
+ <tr>
+ <th>URL:</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx14/orx14_bsf4rexx-av.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx14/orx14_bsf4rexx-av.pdf</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+
+ <subsection name="Camouflaging Java as Object REXX">
+ <p>
+ The Java runtime environment (JRE) is available for practical every operating system in
+ the world and installed on most computers. The functionality of the Java classes that
+ build the JRE has been constantly updated to reflect the advances in the software
+ technology thereby making bleeding edge software concepts available to Java
+ programmers. For that reason the JRE has been an attractive target for making its
+ functionality available to Rexx programs in the form of external Rexx functions, notably
+ with the "BSF4Rexx" (Bean Scripting Framework for Rexx) technology introduced at
+ past International Rexx Symposiae. BSF4Rexx supplies a procedural interface to Java,
+ such that Rexx programs need to simply use CALL-statements or function-calls to
+ bridge into Java.
+ </p>
+ <p>
+ As Object Rexx is object-oriented an object-oriented interface to Java may be desirable
+ as this may reduce the complexity to refer to Java. This article introduces and
+ discusses the architecture and the implementation of Object Rexx wrapper classes that
+ hide the procedural interfaces from Object Rexx programmers by embedding the
+ procedural interfaces of BSF4Rexx in Object Rexx methods, allowing e.g. the
+ invocation of Java methods transparently via Object Rexx messages.
+ </p>
+ <p>
+ Among other things it will be demonstrated, how Java objects are created and sent
+ messages to interactively via a keyboard using the Rexx "rexxtry.rex" program in a
+ command line interface.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td><a href="mailto:rony@apache.org">Rony G. Flatscher</a></td>
+ </tr>
+ <tr>
+ <th>URL:</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx15/2004_orx15_bsf-orx-layer.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx15/2004_orx15_bsf-orx-layer.pdf</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+
+ <subsection name="Automating OpenOffice.Org with ooRexx: Architecture, Gluing to Rexx using BSF4Rexx">
+ <p>
+ The opensource Microsoft Office clone "OpenOffice" is available on
+ multiple plat-forms, from Windows, over Linux to OS/2. It can read/write
+ Microsoft office file-formats, such as Word, Excel or PowerPoint. Its
+ scripting architecture is radically dif-ferent from what Microsoft has
+ come up with and appears to be more systematic, al-though there is a
+ rather steep learning curve to it.
+ </p>
+
+ <p>
+ The architecture of OpenOffice is exposed via the UNO (Uniform Network
+ Objects) interface, which allows C, C++ and Python programs to exploit
+ OpenOffice. On the Windows platform there is an ActiveX/OLE-interface
+ supplied, such that ActiveX-script languages like VBS, JS, as well as
+ ooRexx can be used for scripting purposes, but such programs will lock-in
+ the company into the Windows operating system.
+ </p>
+
+ <p>
+ For the programming language Java, OpenOffice supplies a Java interface to
+ UNO, which can also be exploited in rather innovative ways, e.g. using
+ BSF4Rexx (Bean Scripting Framework for Rexx) to bridge between OpenOffice
+ and ooRexx. Such a solution would allow for the driving/scripting of
+ OpenOffice in a platform independent way, allowing customers to eventually
+ break out of possibly undesired lock-ins (e.g. Windows operating system
+ and/or ActiveX/OLE-technology).
+ </p>
+
+ <p>
+ This article gives a conceptual overview of OpenOffice UNO and explains in
+ detail how UNO can get instantiated and interfaced with by ooRexx.
+ </p>
+
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td><a href="mailto:rony@apache.org">Rony G. Flatscher</a></td>
+ </tr>
+ <tr>
+ <th>URL:</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx16/2005_orx16_Gluing2ooRexx_OOo.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx16/2005_orx16_Gluing2ooRexx_OOo.pdf</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+ <subsection name="Automating OpenOffice.Org with ooRexx: ooRexx, Nutshell Examples For Write and Calc">
+ <p>
+ This article will give numerous little "nutshell" examples of driving OpenOffice.org via ooRexx. All the examples will run unaltered under Linux and Windows.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td><a href="mailto:rony@apache.org">Rony G. Flatscher</a></td>
+ </tr>
+ <tr>
+ <th>URL:</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx16/2005_orx16_NutShell_OOo.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx16/2005_orx16_NutShell_OOo.pdf</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+ <subsection name='OpenOffice.org Automation: Object Model, Scripting Languages, "Nutshell"-Examples'>
+ <p>
+ This work explores and demonstrates how OpenOffice.org can be automated
+ via Object REXX by using the Java programming interfaces of OpenOffice.org
+ and BSF4Rexx.
+ </p>
+
+ <p>
+ This time specific ooRexx support for OpenOffice (module "UNO.CLS" by
+ Rony G. Flatscher, derived from OOO.CLS which is based on the Java
+ interface to the UNO component technology of OpenOffice) is used, which
+ cuts down the necessary code dramatically and makes those programs easy
+ ledgible and understandable (looks almost like pseudo-code).
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td>Andreas Ahammer</td>
+ </tr>
+ <tr>
+ <th>URL (Text)::</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2005/200511_OOo-Ahammer/200511_OOoAutomation.pdf">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2005/200511_OOo-Ahammer/200511_OOoAutomation.pdf</a></td>
+ </tr>
+ <tr>
+ <th>URL_(Examples):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2005/200511_OOo-Ahammer/20051106_examples.zip"></a>http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2005/200511_OOo-Ahammer/20051106_examples.zip</td>
+ </tr>
+ </table>
+ </subsection>
+
+
+ <subsection name="OpenOffice.org Automatisation with Object Rexx">
+ <p>
+ This work builds on the work of Mr. Ahammer (above). It explores and
+ demonstrates how OpenOffice.org can be automated via Object REXX by using
+ the Java programming interfaces of OpenOffice.org and BSF4Rexx.
+ </p>
+
+ <p>
+ This time the OpenOffice.org 2.0 scripting framework (written in Java) is
+ used, which allows to deploy the scripts as OpenOffice.org/StarOffice
+ macros, in a platform independent manner.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td>Martin Burger</td>
+ </tr>
+ <tr>
+ <th>URL (Text):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200605_Burger/Bakk_Arbeit_Burger20060519.pdf">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200605_Burger/Bakk_Arbeit_Burger20060519.pdf</a></td>
+ </tr>
+ <tr>
+ <th>URL_(Examples):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200605_Burger/Bakk_Arbeit_BurgerExamples_All_20060519.zip"></a>http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200605_Burger/Bakk_Arbeit_BurgerExamples_All_20060519.zip</td>
+ </tr>
+ </table>
+ </subsection>
+
+
+
+ <subsection name="BSF4Rexx and OpenOffice.org Nutshell-Examples">
+ <p>
+ This seminar paper introduces the easy to learn syntax of Open Object Rexx
+ (ooRexx) and the BSF4Rexx external Rexx function package, which allows the
+ weakly typed language ooRexx to interface with (strictly typed) Java.
+ </p>
+
+ <p>
+ It defines and explains numerous small (nutshell) examples where the
+ functionality of Java class libraries is used for ooRexx. In addition,
+ the students create examples for automating/scripting the opensource
+ office package <a href="http://www.OpenOffice.org">OpenOffice.org (OOo)</a> in an openplatform way using the OOo
+ Java interface for that purpose.
+ </p>
+
+ <p>
+ Some of the OpenOffice related nutshell examples can be retrieved from the
+ official OOo <a href="http://codesnippets.services.openoffice.org/">"Snippet"</a> homepage.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td>Gerhard Goerlich, Asmund Realfsen, David Spanberger
+ </td>
+ </tr>
+ <tr>
+ <th>URL (Text):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnippets_version_4.pdf">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnippets_version_4.pdf</a></td>
+ </tr>
+ <tr>
+ <th>URL_(Examples):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnippets_code.zip"></a>http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnippets_code.zip</td>
+ </tr>
+ </table>
+ </subsection>
+
+
+ <subsection name="OpenOffice.org Automatisation with Object Rexx (Calc)">
+ <p>
+ This paper gives an introduction to the OpenOffice.org architecture and
+ explains how the OpenOffice.org Calc component can be automated by using
+ the scripting language Open Object Rexx (ooRexx). This components are
+ open sourced and can be downloaded free of charge from the internet.
+ </p>
+
+ <p>
+ The paper is divided into a theoretical and a practical part. In the
+ theoretical part, the main components, ooRexx, OpenOffice.org and the Bean
+ Scripting Framework for ooRexx, will be described and it explains how the
+ single components can work together. At the end of this part you can find
+ an short installation guide, which shows you how to retrieve and install
+ the single components. The practical part provides some nutshell
+ examples, that should demonstrate how the OpenOffice.org Calc component
+ can be automated. The concluding part should give a short summary of the
+ paper.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td>Michael Hinz</td>
+ </tr>
+ <tr>
+ <th>URL (Text):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Hinz/20060712_OOo_calc_automation.pdf">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Hinz/20060712_OOo_calc_automation.pdf</a></td>
+ </tr>
+ <tr>
+ <th>URL_(Examples):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Hinz/20060629_OOo_calc_examples.zip">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Hinz/20060629_OOo_calc_examples.zip</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+ <subsection name="ooRexx Snippets for OpenOffice.org Writer">
+ <p>
+ </p>
+ This paper deals with the use of ooRexx as a scripting language for
+ automation of OpenOffice.org Writer.
+
+ <p>
+ At first, there will be an introduction to the technical requirements,
+ which include the software that has to be installed. Concerning ooRexx
+ there is also a sub chapter about its syntax and common instructions, to
+ give a feeling for this programming language.
+ </p>
+
+ <p>
+ The next chapter is about the architectural approach behind ooRexx and
+ OpenOffice.org. It is described how OpenOffice.org can be accessed using
+ ooRexx.
+ </p>
+
+ <p>
+ Chapter four is a small installation guide, which shows how to set up the
+ different software programmes and configure them correctly. Chapter five
+ and six show how the automation of OpenOffice.org Writer can be done.
+ Small snippets, which are code examples, demonstrate different tasks. At
+ last the conclusion gives a small summary and an outlook.
+ </p>
+
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td>Matthias Prem</td>
+ </tr>
+ <tr>
+ <th>URL (Text):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Prem/20060724_ooRexxSnippetsOOoWriter_2.1_odt.pdf">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Prem/20060724_ooRexxSnippetsOOoWriter_2.1_odt.pdf</a></td>
+ </tr>
+ <tr>
+ <th>URL_(Examples):</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Prem/ooRexxSnippetsOOoWriter_oorexx_snippets.zip">http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2006/200607_Prem/ooRexxSnippetsOOoWriter_oorexx_snippets.zip</a></td>
+ </tr>
+ </table>
+ </subsection>
+
+
+
+
+
</section>
<section name="Presentations">
@@ -216,32 +541,38 @@
<subsection name="Java Bean Scripting with Rexx (PDF)">
<p>
- Using Rexx with BSF
+ Using <a href="http://www.ooRexx.org">Rexx</a> with BSF
</p>
<table>
<tr>
<th>Author:</th>
- <td><a href="mailto:Rony.Flatscher@wu-wien.ac.at">Rony G. Flatscher</a></td>
+ <td><a href="mailto:rony@apache.org">Rony G. Flatscher</a></td>
</tr>
<tr>
- <th>URL ("The Vienna Version of BSF4Rexx"):</th>
+ <th>URL:</th>
- <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_BSF_ViennaEd.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_BSF_ViennaEd.pdf</td>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_BSF_ViennaEd.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_BSF_ViennaEd.pdf</a>
+ <br>("The Vienna Version of BSF4Rexx")</br>
+ </td>
<!--
<td><a href="wi.wu-wien.ac.at/Studium/LVA-Unterlagen/ poolv/folien/2001_orx12.pdf">wi.wu-wien.ac.at/Studium/LVA-Unterlagen/ poolv/folien/2001_orx12.pdf</a></td>
-->
</tr>
<tr>
- <th>URL ("The Vienna Version of BSF4Rexx", allows open-platform scripting of OpenOffice.org with the help of BSF):</th>
- <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_UNO.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_UNO.pdf</td>
+ <th>URL:</th>
+ <td><a href="http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_UNO.pdf">http://wi.wu-wien.ac.at/rgf/rexx/orx17/2006_orx17_UNO.pdf</a>
+ <br>("The Vienna Version of BSF4Rexx", allows open-platform scripting of OpenOffice.org with the help of BSF)</br>
+ </td>
</tr>
<tr>
- <th>URL ("BSF4Rexx: Camouflaging Java", presentation at <a href="http://asia.apachecon.com">ApacheCon Asia 2006</a>):</th>
- <td><a href="http://asia.apachecon.com/wp-content/presentations/ApacheConAsia2006-08-16-Flatscher-BSF4Rexx.pdf">http://asia.apachecon.com/wp-content/presentations/ApacheConAsia2006-08-16-Flatscher-BSF4Rexx.pdf</td>
+ <th>URL:</th>
+ <td><a href="http://asia.apachecon.com/wp-content/presentations/ApacheConAsia2006-08-16-Flatscher-BSF4Rexx.pdf">http://asia.apachecon.com/wp-content/presentations/ApacheConAsia2006-08-16-Flatscher-BSF4Rexx.pdf</a>
+ <br>("BSF4Rexx: Camouflaging Java", presentation at <a href="http://asia.apachecon.com">ApacheCon Asia 2006</a>)</br>
+ </td>
</tr>
</table>
Modified: jakarta/bsf/trunk/xdocs/stylesheets/templates.vm
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/xdocs/stylesheets/templates.vm?view=diff&rev=446902&r1=446901&r2=446902
==============================================================================
--- jakarta/bsf/trunk/xdocs/stylesheets/templates.vm (original)
+++ jakarta/bsf/trunk/xdocs/stylesheets/templates.vm Sat Sep 16 10:29:25 2006
@@ -29,7 +29,7 @@
#if ($value.getAttributeValue("rowspan"))
#set ($rowspan = $value.getAttributeValue("rowspan"))
#end
- <td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan"
+ <td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan"
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
#if ($value.getText().length() != 0 || $value.hasChildren())
@@ -48,7 +48,7 @@
#if ($value.getAttributeValue("rowspan"))
#set ($rowspan = $value.getAttributeValue("rowspan"))
#end
- <td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan"
+ <td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan"
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
#if ($value.getText().length() != 0 || $value.hasChildren())
@@ -85,7 +85,7 @@
#if ($value.getAttributeValue("align"))
#set ($align=$value.getAttributeValue("align"))
#end
- <img src="$relativePath$value.getAttributeValue("src")"
+ <img src="$relativePath$value.getAttributeValue("src")"
width="$!width" height="$!height" align="$!align">
#end
@@ -149,16 +149,16 @@
<!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
-
+
#set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
#metaauthor ( $au.getText() $au.getAttributeValue("email") )
#end
-
+
<title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
</head>
-
- <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
+
+ <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
<table border="0" width="100%" cellspacing="0">
<!-- TOP IMAGE -->
<tr>
@@ -169,7 +169,7 @@
<tr><td colspan="2">
<hr noshade="" size="1"/>
</td></tr>
-
+
<tr>
<!-- LEFT SIDE NAVIGATION -->
<td valign="top" nowrap="true">
@@ -188,7 +188,7 @@
</td></tr>
<tr><td colspan="2">
<div align="center"><font color="$bodylink" size="-1"><em>
- Copyright © 2002, Apache Software Foundation
+ Copyright © 2002-2006, Apache Software Foundation
</em></font></div>
</td></tr>
</table>
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org