зеркало из https://github.com/mozilla/pjs.git
Add reference to latest BSF version. Remove obsolete link.
This commit is contained in:
Родитель
558646bcf9
Коммит
8ba3dba150
|
@ -1,99 +0,0 @@
|
|||
<!-- ***** BEGIN LICENSE BLOCK *****
|
||||
- Version: MPL 1.1/GPL 2.0
|
||||
-
|
||||
- The contents of this file are subject to the Mozilla Public License Version
|
||||
- 1.1 (the "License"); you may not use this file except in compliance with
|
||||
- the License. You may obtain a copy of the License at
|
||||
- http://www.mozilla.org/MPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS IS" basis,
|
||||
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is Rhino code, released May 6, 1999.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Netscape Communications Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 1997-1999
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
-
|
||||
- Alternatively, the contents of this file may be used under the terms of
|
||||
- the GNU General Public License Version 2 or later (the "GPL"), in which
|
||||
- case the provisions of the GPL are applicable instead of those above. If
|
||||
- you wish to allow use of your version of this file only under the terms of
|
||||
- the GPL and not to allow others to use your version of this file under the
|
||||
- MPL, indicate your decision by deleting the provisions above and replacing
|
||||
- them with the notice and other provisions required by the GPL. If you do
|
||||
- not delete the provisions above, a recipient may use your version of this
|
||||
- file under either the MPL or the GPL.
|
||||
-
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="KeyWords" content="Rhino, JavaScript, Java, BSF, Apache">
|
||||
<title>Rhino and BSF</title>
|
||||
<style>
|
||||
BODY { background-color: white }
|
||||
H1 { text-align: center }
|
||||
P { text-align: justify }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Rhino and BSF</h1>
|
||||
|
||||
<h2>What is BSF?</h2>
|
||||
<p>
|
||||
The <a href="http://jakarta.apache.org/bsf/">Bean
|
||||
Scripting Framework</a> (or BSF) was originally developed by IBM and now
|
||||
published as open source as a project at the Apache Software Foundation. It provides a framework for using a number of
|
||||
scripting languages with Java. Rhino is one of the supported languages.
|
||||
</p>
|
||||
|
||||
<p>This framework has been embedded in a number of open source projects,
|
||||
including the XSL processor <a href="http://xml.apache.org/xalan-j/">Xalan</a>
|
||||
and the XML/Java build tool <a href="http://ant.apache.org/">Ant</a>.
|
||||
See <a href="http://xml.apache.org/xalan-j/extensions.html">Xalan-Java
|
||||
Extensions</a> for more information on adding JavaScript to XSL and the description of the optional Script task in the
|
||||
<a href="http://ant.apache.org/manual/">Apache Ant Manual</a> for using scripting in Ant build files.
|
||||
</p>
|
||||
|
||||
<h2 id="bsf-issue">Using BSF with Rhino</h2>
|
||||
|
||||
<p>If you use BSF 2.3.0 Release candidate 1 (released 2002-11-12) or earlier versions, you have to use Rhino 1.5R2 or Rhino 1.5R3 (see Rhino <a href="download.html">download</a> page).
|
||||
</p>
|
||||
<p>
|
||||
If you want to use later releases of Rhino, then as of time of writing, 2004-11-29, you have to either build BSF from <a href="http://jakarta.apache.org/site/cvsindex.html">Apache's CVS</a> or use pre-built binaries since BSF project has not yet released an official version incorporating all the necessary changes to work with Rhino 1.5R4 or later.
|
||||
</p>
|
||||
<p>You may find a pre-built BSF incorporating these changes (and all that will
|
||||
make up the new version 2.4.0) in the BSF4Rexx-package at <a
|
||||
href="http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/current/">http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/current/</a>.
|
||||
(BSF4Rexx
|
||||
allows Java to easily invoke <a href="http://www.RexxLA.org>">REXX</a> and <a
|
||||
href="http://www.ooRexx.org">ooRexx (Open Object Rexx)</a> scripts. For ooRexx
|
||||
the BSF4Rexx support allows ooRexx programmers
|
||||
to use all Java classes and Java objects, as if they were (weakly) typed ooRexx
|
||||
classes and objects. In addition it allows to script/automate <a
|
||||
href="http://www.OpenOffice.org">OpenOffice.org</a> in a platform independent
|
||||
manner using its Java-APIs with the help of BSF.)
|
||||
</p>
|
||||
|
||||
<h2 id="bsf-new-RC2">New BSF version 2.4.0 pending</h2>
|
||||
|
||||
<p>As of 2006-09-16 the BSF team is about to release version 2.4.0, which
|
||||
resolves this issue with the new distribution.
|
||||
Release candidate 2 (RC2) will be voted upon for release for the beginning of
|
||||
October 2006. News (and an updated WWW-site)
|
||||
will be found at <a
|
||||
href="http://jakarta.apache.org/bsf/">http://jakarta.apache.org/bsf/</a>.
|
||||
</p>
|
||||
<p><a href="index.html">back to top</a>
|
||||
</body>
|
||||
</html>
|
|
@ -1,121 +0,0 @@
|
|||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="Author" content="Norris Boyd">
|
||||
<meta name="GENERATOR" content="Mozilla/4.72 [en]C-NSCP (WinNT; U) [Netscape]">
|
||||
<meta name="KeyWords" content="Rhino, JavaScript, Java">
|
||||
<title>Using Rhino</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<script src="owner.js"></script>
|
||||
|
||||
<center>
|
||||
<h1>
|
||||
How are people using Rhino?</h1></center>
|
||||
Here's a partial list of the ways people are using Rhino in their projects.
|
||||
The initial list was collected by Netscape marketing, so Rhino is referred
|
||||
to as Netscape Java-based JavaScript. We'd love to hear how you're using
|
||||
Rhino--just mail <script>document.write(owner());</script>.
|
||||
|
||||
<p><a href="http://www.attachmate.com">Attachmate</a>
|
||||
<br>"Netscape JavaScript 1.5 with Java implementation was a perfect solution
|
||||
for developing our MacroRecorder because it made our development process
|
||||
faster and better, and our customers get a more efficient, reliable, and
|
||||
standards based product as a result," said Rob Clark, Director of Product
|
||||
Development at Attachmate. Attachmate integrates Netscape's Java-based
|
||||
JavaScript 1.5 Interpreter into its 100% Pure Java certified web-to-host
|
||||
thin clients, called e-Vantage Viewers. The Netscape Java-based JavaScript
|
||||
interpreter is used in a MacroRecorder feature that allows browser-based
|
||||
users to efficiently navigate host applications on mainframe and midrange
|
||||
systems.
|
||||
|
||||
<p><a href="http://www.avivasolutions.com/">Aviva Solutions</a>
|
||||
<br>
|
||||
Aviva for Java is a mainframe connectivity product. To overcome the limitations of the arcane mainframe user interface, it is customary to provide scripting capabilities in such products, so that repetitive user actions can be automated. Aviva for Java is a Java applet. As such, its size, security and compatibility requirements are strict. Rhino has been found to be the perfect scripting engine: pure Java, works perfectly in an applet environment, regardless of the VM vendor or version, it is light and in the same time very powerful. JavaScript as the scripting language makes perfect sense in a browser environment.
|
||||
|
||||
<p><a href="http://www.bristowhill.com/">Bristow Hill Software</a>
|
||||
<br>"We thought it would require lots of work to add scripting capability
|
||||
to Bristow Hill Server Pages, but we were delighted to find that Netscape
|
||||
JavaScript 1.5 with Java implementation fit right in with only a couple
|
||||
of lines of initialization code and one line of code to export our standard
|
||||
objects by name. Also, we were pleased to find we could take embedded scripting
|
||||
and compile it down to Java classes which could be used directly for greater
|
||||
speed in production. Netscape's JavaScript engine is rock solid and standards
|
||||
compliant, and my only regret is that we didn't start using it sooner,"
|
||||
said Don Anderson, President of Bristow Hill Software.
|
||||
|
||||
<p><a href="http://www.celcorp.com/webrecorder.html">Celware WebRecorder</a>
|
||||
<br>WebRecorder allows developers and analysts to quickly and easily automate Web navigation and data extraction from Web pages. Users can model and parameterize navigations and extractions, then wrap them in business processes for execution from a client application. Scripting via Rhino allows users to create the business logic in these processes. It also allows their processes to integrate Web access with any other kind of system or data the Java platform can reach.
|
||||
|
||||
<p><a href="http://www.discoverymachine.com">Discovery Machine</a>
|
||||
<br>Discovery Machine's Expertise Encoding and Execution Workshop (E3W) allows experts to easily and seamlessly encode their knowledge and processes into immediately usable, executable graphical software that can then be shared, modified, and leveraged. In this environment, knowledge engineers can work with subject-matter experts as well as software engineers to develop models of expertise. At all points in the process, experts can understand and modify the models, even when models are fully operational. We were easily able to embed Rhino and immediately extend our language with Rhino's high-quality JavaScript interpreter.
|
||||
|
||||
<p><a href="http://httpunit.sourceforge.net/">HttpUnit</a>
|
||||
<br>"Automated testing is a great way to ensure that code being maintained works. The Extreme Programming (XP) methodology relies heavily on it, and practitioners have available to them a range of testing frameworks, most of which work by making direct calls to the code being tested. But what if you want to test a web application? Or what if you simply want to use a web-site as part of a distributed application?
|
||||
<p>
|
||||
In either case, you need to be able to bypass the browser and access your site from a program. HttpUnit makes this easy. Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a web site."
|
||||
|
||||
<p><a href="http://htmlunit.sourceforge.net/">HtmlUnit</a>
|
||||
<br> HtmlUnit is a java unit testing framework for testing web based applications. </br>
|
||||
|
||||
<p><a href="http://www.icesoft.com/">ICEsoft Technologies</a>
|
||||
<br>ICEsoft Technologies adds JavaScript support to their browser products using Rhino.
|
||||
|
||||
<p><a href="http://sourceforge.net/projects/jscorba">JS/CORBA Adapter</a>
|
||||
<br>The JS/CORBA Adapter provides a mechanism for arbitrary Javascript objects to interact with each other transparently in a distributed Javascript system using CORBA.
|
||||
|
||||
<p><a href="http://www.lombardisoftware.com">Lombardi Software</a>
|
||||
<br>Lombardi Software's TeamWorks BPM platform uses Rhino for all
|
||||
embedded scripting.
|
||||
|
||||
<p><a href="http://www.magoosoft.com">Magoo Software</a>
|
||||
<br>"We've just released version 1.5 of MagooClient, an XML messaging client, with Rhino inside. The availability of Rhino 1.6R1 with E4X marks a significant breakthrough in the way that people work with XML content. Instead of merely editing, users can add their own custom logic to perform calculations, implement validation rules that test relationships between elements and crucially, add callouts to external Web Services to populate XML documents. There have been several attempts at this type of rich XML client in the past but none offer the familiarity, simplicity and adherence to standards offered by Rhino/JavaScript/E4X." -- John McGuire, CTO Magoo Software.
|
||||
|
||||
<p><a href="http://homepage.mac.com/pcbeard/JShell/">JShell</a>
|
||||
<br>Rhino is used as the scripting language for the open source command
|
||||
shell JShell written by Patrick Beard.
|
||||
|
||||
<p><a href="http://www.runitsoft.com/">RUnit Software</a>
|
||||
<br>RUnit Software uses Rhino as part of
|
||||
solutions for business-process automation, for example
|
||||
when the automation involves communicating with a
|
||||
web-interface.
|
||||
|
||||
<p><a href="http://www.seppia.org/">Seppia</a>
|
||||
<br>"Seppia is a simple technology to build and deploy any Java application.
|
||||
It gains from the synergy of Java and JavaScript and a minimum set of clear
|
||||
rules to organize their interaction. Seppia allows developers to create
|
||||
stand-alone applications from constituent parts.
|
||||
Each part is a module: a unit of function integrating seamlessly JavaScript
|
||||
files, jar files and other resources.
|
||||
Seppia uses Mozilla Rhino to empower its JavaScript engine.
|
||||
Seppia will challenge the way you think of Java-based component computing."
|
||||
|
||||
|
||||
<p><a href="http://www.tdiinc.com/">Technology Deployment International</a>
|
||||
<br>"Technology Deployment International selected the Java-based Netscape
|
||||
JavaScript engine to incorporate into the workflow module of our eBusiness
|
||||
Management System (eBMS) allowing our customers to integrate business logic
|
||||
into any workstep of their application," said Dr. Kelvin Liu, VP eBMS Development,
|
||||
Technology Deployment International. "It has been easy to embed, the support
|
||||
we received from the engineering team has been outstanding, and the performance
|
||||
of the JavaScript code is almost identical to the equivalent Java."
|
||||
|
||||
<p><a href="http://www.xmoon.org">XMoon</a>
|
||||
<br>XMoon is a dynamic OO (Object Oriented) opensource extension released under LGPL License for Jakarta Struts, powerful and easy to use.
|
||||
|
||||
XMoon lets you develop business logic classes following a fully Java compatible scripting language allowing execution of Java code at runtime without any access to a compiler.
|
||||
|
||||
<p><a href="http://www.xypoint.com/">XYPOINT</a>
|
||||
<br>XYPOINT uses Rhino for automating test cases of their Java classes
|
||||
used in their service <a href="http://www.webwirelessnow.com/">WebWirelessNow</a>.
|
||||
Abraham Backus says that he's happy with Rhino because "I've always wanted
|
||||
this kind of JavaScript support."
|
||||
<h3>
|
||||
|
||||
<hr WIDTH="100%"><br>
|
||||
<a href="index.html">back to top</a></h3>
|
||||
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче