Friday 9 November 2012

From Requirements to Deployed Services in 15 mins

This demo shows how the concept of Testable Architecture, and the Savara tooling that supports this methodology, can be used to create, test and deploy a set of services within the Switchyard ESB in just 15 minutes.

The Testable Architecture methodology aims to ensure that artifacts defined at each stage within the software development lifecycle can be tested against other artifacts in other stages of the lifecycle. The overall goal being to ensure that the delivered system meets the original business requirements.

The demo uses a set of scenarios (sequence diagrams with examples messages) to represent a formal definition of business requirements, outlining the behaviour of the required system.

From the scenarios we generate a BPMN2 choreography defining the overall behaviour of the business process, as well as a set of BPMN2 process models, one per participant in the business process.

We can then test the scenarios against the generated choreography to verify that it truly meets the business requirements, before using the choreography to generate the set of template Switchyard Java services.

Although the Java service generation provides the template structure of the service operations, based on the behaviour defined in the BPMN2 process models, the developer will still be required to add some implementation details at this stage. However once that is completed, the service implementations can then be tested against the original scenarios, ensuring that they also meet the business requirements.

Once fully tested, the demo shows the services being deployed into the Switchyard ESB and invocation of the services to demonstrate they are fully functional.

Thursday 8 November 2012

Savara 2.1 Milestone 2 supports Switchyard Java service simulation

The first milestone introduced generation of Switchyard Java services. This milestone has focused on enhancing that support with the generation of additional transformers (to support execution of the service) and the ability to simulate scenarios against the service implementation.

The other significant new feature is the ability to create a BPMN2 choreography from a set of endpoint models (currently only BPEL supported). For example, if you have a set of BPEL process definitions that represent the behaviour associated with each of the interacting parties, then you can now reverse engineer the choreography that represents the global (service neutral) view of the overall business transaction.

The release also includes many improvements and bug fixes. For the full details please see: https://issues.jboss.org/secure/ReleaseNote.jspa?projectId=12310870&version=12319480

To download the tools, please visit the Savara downloads page and follow the installation instructions. This release is available from the Development Milestone update site.