What is the Scripting SE
The Scripting SE allows developers to write business logic in the form of scripts and deploy these scripts into the OpenESB runtime. The advantage of using scripts are that programmer skills and the advantages of different scripting languages can be leveraged.
Using the Scripting SE
The attached demos illustrate the creation of a new Scripting kind of a project and executing some sample scripts in various scripting languages.
A video demonstrating the Design time of the Scripting SE and the corresponding runtime is present at Scripting Sample demo-E2E
.
The demo shows how to create the Scripting Project, for providing a simple trading service. The Trading Service depicted as the echo.wsdl, takes in a TradePriceRequest xml, which will contain some information like the Trading Symbol, the quantity of stocks required etc. The output is an TradePrice xml which contains the pricing information for the requested quantity of stocks. The Scripting Service Engine would execute the greet.rb file which will actuall calculate the price of the requested stocks.
A Sample Netbeans Project using Scripting SE: ScriptingSE_Project.zip
The sample project leverages jruby scripting engine to execute a jruby script in the server. The HTTP BC receives a soap message which triggers the script to execute and the result of the script is returned to the HTTP client. It also shows how a java object can be manipulated inside the script.
Steps to Build:
- The project zip file contains a Scripting SE module and a Composite Application project. Extract the zip and extract both the projects in their individual folders.
- Open the both the projects in netbeans.
- Add the Scripting SE module to the Composite Application project.
- Build and deploy.
- Run the TestCase included in the Composite Application project.
Documentation
User documentation
System requirements and dependencies
No special requirements
Trouble?
Please post questions on the
OpenESB mailing list
. File bugs in the
OpenESB issue tracker
; use the Scripting SE category.
Evolution of the Scripting SE
What is new?
- The scripting engine is currently not under active development.
Team
Developing the Scripting SE
Not under active development currently
This page (revision-36) was last changed on
26-Feb-09 17:47 PM, -0800
by FrankKieviet.
This page was created on
26-Feb-07 05:43 AM, -0800 by NarayanaRallabandi.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
37
|
26-Feb-09 17:47 PM, -0800
|
FrankKieviet |
3756 |
to previous
|
|
36
|
26-Feb-09 17:47 PM, -0800
|
FrankKieviet |
3755 |
to previous
|
to last
|
|
35
|
16-Jun-08 23:06 PM, -0700
|
192.18.17.3 |
9163 |
to previous
|
to last
|
|
34
|
16-Jun-08 23:00 PM, -0700
|
192.18.17.3 |
8785 |
to previous
|
to last
|
|
33
|
26-May-08 22:44 PM, -0700
|
NarayanaRallabandi |
8318 |
to previous
|
to last
|
|
32
|
07-May-08 23:39 PM, -0700
|
Venkat R Srinivasan |
8342 |
to previous
|
to last
|
|
31
|
17-Oct-07 10:03 AM, -0700
|
MarkWhite |
8455 |
to previous
|
to last
|
|
30
|
16-Oct-07 10:07 AM, -0700
|
RolalGetri |
8472 |
to previous
|
to last
|
|
29
|
15-Oct-07 12:13 PM, -0700
|
james Loreznen |
8455 |
to previous
|
to last
|
|
28
|
01-Oct-07 12:22 PM, -0700
|
MarkWhite |
8431 |
to previous
|
to last
|
|
27
|
25-Sep-07 15:56 PM, -0700
|
ChierDarde |
8442 |
to previous
|
to last
|
|
26
|
11-May-07 05:02 AM, -0700
|
Prashanth |
8425 |
to previous
|
to last
|
|
25
|
11-May-07 05:01 AM, -0700
|
Prashanth |
9009 |
to previous
|
to last
|
|
24
|
11-May-07 04:49 AM, -0700
|
Prashanth |
9008 |
to previous
|
to last
|
|
23
|
11-May-07 04:48 AM, -0700
|
Prashanth |
8995 |
to previous
|
to last
|
|
22
|
26-Apr-07 08:14 AM, -0700
|
Prashanth |
6192 |
to previous
|
to last
|
|
21
|
26-Apr-07 08:04 AM, -0700
|
Prashanth |
6287 |
to previous
|
to last
|
|
20
|
26-Apr-07 07:55 AM, -0700
|
Prashanth |
5783 |
to previous
|
to last
|