Showing posts with label opensource. Show all posts
Showing posts with label opensource. Show all posts

Friday, July 16, 2010

WSO2 Business Activity Monitor 1.1.0 Released

WSO2 Business Activity Monitor (WSO2 BAM) is a tool designed to exercise Business Activity Monitoring (BAM). WSO2 BAM is intended to serve the needs of both business and IT domain experts to monitor and understand business activities within a SOA deployment. It is specifically designed for monitoring SOA deployments, and can be extended to cater for other general monitoring requirements as well.

New Features:
  • Support for Oracle DBMS
  • Error category monitoring for WSO2 ESB mediation data
  • Improvements to analytics summary calculations, storage and visualization
  • Support for deployment on JBoss, Apache Tomcat, and WebLogic Application servers
  • Improved P2 based provisioning and feature management support
  • Support for deleting Monitored Servers

Wednesday, July 14, 2010

WSO2 Business Process Server 2.0.0 Released

WSO2 Business Process Server (WSO2 BPS) 2.0.0 is released few weeks back.
WSO2 BPS is an opensource BPEL process engine which support BPEL4People and WS-HumanTasks

New features are:
  • BPEL4People and WS-HumanTask Support(Experimental)
  • Instance cleanup scheduled task for production deployments
  • Component manager to install and uninstall features (provisioning support)
  • External service invocation via JMS
  • XPath extension support
  • Various bug fixes and performance improvements for Apache ODE
WS-HumanTask support is in its early stages. The upcoming releases will provide comprehensive support for Human Tasks. 

Component manager is a cool feature which enables you to install other features to BPS server. For instance, now you can install WSO2 ESB or any other WSO2 products' features to the BPS server itself. 

You can find a sample XPath extension for WSO2 BPS here.


WSO2 BPS is an opensource product. If you found an issue, please raise a jira at https://wso2.org/jira/browse/CARBON under BPEL and HumanTask components.
Please feel free to fix issues and attach patches as well ;)

Friday, November 20, 2009

How to write a BPEL extension for WSO2 BPS 1.1.0 and Apache ODE

You may always wanted to write your own BPEL activity to handle your scenario. This article will go through step by step process to implement a simple BPEL extension activity for WSO2 BPS and Apache ODE.
WSO2 Business Process Server (BPS) is an easy-to-use open source business process server that executes business processes written using the WS-BPEL standard. It is powered by Apache ODE (open source BPEL engine) and provides a complete Web-based graphical console to deploy, manage and view processes in addition to managing and viewing process instances.

Implementation of Extension Bundle

Create a class by implementing one of the ExtensionOperation interfaces which are available at [1]. The run* method of this class should contain the implementation of the extension activity. You can find a sample implementation of this class at [2].
Then You have to create a class by implementing AbstractExtensionBundle interface. Within this class, the above implemented ExtensionOperation class should be registered. A sample implementation can be found at [3].

Configure WSO2 BPS

There are two methods to expose the extension classes to BPS.
  • Creating a jar.

    Copy the jar to BPS_HOME/repository/components/lib directory.
  • Creating an OSGI bundle

    Copy the bundle to BPS_HOME/repository/components/dropins directory.
Add the following configuration entry to the bps.xml file in BPS_HOME/conf directory. Repalce org.wso2.bps.samples.extension by your extension class name.
Note: By default, the sample extension bundles shipped with WSO2 BPS are copied to BPS_HOME/repository/components/lib. You have to add the following configuration to get them registered in BPS.
<bps xmlns="http://wso2.org/bps/config">
...
<extensionBundles>
<runtimes>
<runtime>org.wso2.bps.samples.extension</runtime>
</runtimes>
</extensionBundles>
...
</bps>
Now, restart WSO2 BPS sever, and you are ready to use the new extension in your BPEL.

The process is almost the same for Apache ODE. But there is a separate configuration file to register the extension. Please refer ODE extensions documentation for more details.

Using the Extension activity in your BPEL

The extension must be declared before, it is used.
<bpel:process...>

<bpel:extensions>
<bpel:extension namespace="#extension-namespace#" 
                        mustUnderstand="yes|no"/>
</bpel:extensions>

...
</bpel:process>
If the mustUnderstand attribute is set to yes, then the extension should be registered in BPS server in order to deploy the BPEL process. Otherwise, it will throws an error at the compilation stage of the process. If the mustUnderstand attribute is set to no, then the BPEL process will be deployed without checking whether there is an extension registered in the server.

Using the activity. According to the sample anyElementQName should be equal to b4ptest
<extensionActivity>
<anyElementQName standard-attributes>
standard-elements
</anyElementQName>
</extensionActivity>
You can find a sample BPEL process at TestExtensionActivity.zip

References:

[1] - extension

WSO2 Business Process Server 1.1.0 is Released

WSO2 Business Process Server (WSO2 BPS) team is pleased to announce the release of version 1.1.0 of the easy-to-use open source business process server that executes business processes written following WS-BPEL standard.

WSO2 BPS v1.1.0 is available for download at [1].

The WSO2 BPS v1.1.0 is developed on top of the revolutionary Carbon platform[2] (Middleware a' la carte), and is based on the OSGi framework to achieve the better modularity for you SOA.

An open source product, WSO2 BPS v1.1.0 is available under the Apache Software License (v2.0) . This includes all of the extra integration and management functionality as well.

New Features in WSO2 BPS v1.1.0
-------------------------------
- Apache ODE trunk is used as the BPEL Engine
- New WSO2 Carbon integration layer for Apache ODE
- BPEL Process Versioning Support
- Support for invoking secured(Using WS-Security) partner services.
- Experimental clustering support
- Invoke activity recovery support through management console
- E4X based data manipulation support for BPEL assignments
- BPEL Extension support for extending WS-BPEL language
- Equinox P2 based provisioning support - extend your BPS instance by installing new P2 features [5].

Other Key Features
------------------
- Deploying Business Processes written in compliance with WS-BPEL 2.0 Standard and BPEL4WS 1.1 standard.
- Ability deploy BPEL event listeners
- Managing BPEL packages, processes and process instances.
- WS-Security support for business processes.
- Ability to use external data base system as the BPEL engine's perssitence storage
- Caching support for business processes.
- Throttling support for business processes.
- Transport management.
- Internationalized web based management console.
- System monitoring.
- Try-it for business processes.
- SOAP Message Tracing.
- Web Services tooling support such as WSDL2Java, Java2WSDL and WSDL Converter.
- Customizable server - You can customize the WSO2 BPS to fit into your exact requirements, by removing certain features or by adding new optional features.

How to Run
------------------
1. Extract the downloaded zip.
2. Go to the bin directory in the extracted folder.
3. Run the wso2server.sh or wso2server.bat as appropriate.
4. Point your browser to the URL https://localhost:9443/carbon
5. Use "admin", "admin" as the user name and password.
6. If you need to start the OSGi console with the server use the
property -DosgiConsole when starting the server

Known issues
----------------------
All the known issues have been filed here [3]. Please report any other
issues you find as JIRA entries.

Contact us
-----------------
WSO2 Business Process Server developers can be contacted via the mailing lists:
For Developers: carbon-dev@wso2.org

Alternatively, questions can also be raised in the Business Process Server forum

Training
---------------
WSO2 Inc. offers a variety of professional Training Programs, including
training on general Web services as well as WSO2 Business Process Server,
Apache Axis2, Data Services and a number of other products. For
additional support information please refer to


Support
--------------
WSO2 Inc. offers a variety of development and production support
programs, ranging from Web-based support up through normal business
hours, to premium 24x7 phone support. For additional support information
please refer to http://wso2.com/support/

For more information on WSO2 Business Process Server, visit the WSO2 Oxygen Tank[4].

Thank you for your interest in WSO2 Business Process Server.

-The WSO2 Business Process Server team