Thursday, November 19, 2009

WSO2 Steps into Cloud

This week, WSO2 has announced there cloud offerings introducing the Cloud SOA platform. With this we (WSO2) enters into cloud computing...

Cloud platform that WSo2 provides mainly consists of three variations; which are;
  • Cloud Virtual Machines
  • Cloud Connectors
  • Cloud Services
First of all lets take a look at the Cloud Virtual Machines. They are basically hardened virtual machines pre configured to be run on the cloud with auto scaling to fit into your load. This will be very cost effective since you pay it as you go, but still providing the production support insurance.

You may try out those as Amazon EC2 images or may be you can run them on your own as VMware images or Linux KVM images.

You should have been at least worring once in your life being not able to provide a third party access the service running on your laptop, since you are under a NAT. Well the second solution that WSO2 provides addresses this issue with a Cloud Connector which is the Cloud Services Gateway which enables you to just expose the service running on WSAS or ESB instance on your personal desktop/laptop connected to the internet, even though the third party cannot access your machine.

Another Cloud Connector will accelarate the security processing by delegating that bit to a virtual machine optimized to perform security which is called the Cloud Service Accelarator.

The final option (for the time being) is the Cloud Services, you may have heard the term "as a Service" much more frequently these days. So WSO2 exposes its Governance solution as a service naming it GaaS (Governance as a Service).

It will be very interesting for you to try out GaaS online.

We are not done yet, stay tuned for the next step towards the cloud; As a hint I would say IdaaS is coming soon. Guess what it is.... :-)

All the above will form the WSO2 Cloud Middleware, whcih will be the onestop shop for all your cloud requirements... Stay tuned...


Want to know more and more, yeah! join Paul Fremantle for the free Webinar on Cloud and SOA: A revolution for the enterprise on Tuesday, November 24, 2009 from 09:00 AM to 10:00 AM (PST).

Monday, October 12, 2009

WSO2 ESB 2.1.1 is Released!

So this time it is a bug fix release but with few enhancements as well called WSO2 ESB 2.1.1;

The WSO2 Enterprise Service Bus (ESB) 2.1.1 Released!

The WSO2 ESB team is pleased to announce the release of version 2.1.1 of the Open Source Enterprise Service Bus (ESB). This is an enhanced and improved release of the WSO2 ESB 2.1.0 which went out on July 2009.

WSO2 ESB is a lightweight and easy-to-use Open Source Enterprise Service Bus (ESB) available under the Apache Software License v2.0. WSO2 ESB allows administrators to simply and easily configure message routing, intermediation, transformation, logging, task scheduling, load balancing, failover routing, event brokering, etc.. The runtime has been designed to be completely asynchronous, non-blocking and streaming based on the Apache Synapse core.

WSO2 ESB 2.1.1 is developed on top of the revolutionary Carbon platform (Middleware a' la carte), and is based on the OSGi framework to achieve the better modularity for your SOA architecture. This also contains a lots of new features and many other optional components to customize the behavior of the server. Further, if you do not want any of the built in features, you can uninstall those features without any trouble. In other words, this ESB can be customized to your SOA needs.

You can download this distribution from http://wso2.org/downloads/esb and give it a try.

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 username and password to login as an admin and create a user account
  6. Assign the required permissions to the user through a role
  7. If you need to start the OSGi console with the server use the property -DosgiConsole when starting the server. The INSTALL.txt file found on the installation directory will give you a comprehensive set of options and properties that can be passed into the startup script
  8. Samples configurations can be started by the wso2esb-samples script passing the sample number with the -sn option, please have a look at the samples guide for more information, on running samples

Key Features of WSO2 ESB

  • Proxy services - facilitating synchronous/asynchronous transport, interface (WSDL/Schema/Policy), message format (SOAP 1.1/1.2, POX/REST, Text, Binary), QoS (WS-Addressing/WS-Security/WS-RM) and optimization switching (MTOM/SwA).
  • Non-blocking HTTP/S transports based on Apache HttpCore for ultrafast execution and support for thousands of connections at high concurreny with constant memory usage.
  • Built in Registry/Repository, facilitating dynamic updating and reloading of the configuration and associated resources (e.g. XSLTs, XSD, WSDL, Policies, JS, Configurations ..)
  • Easily extendable via custom Java class (mediator and command)/Spring mediators, or BSF Scripting languages (Javascript, Ruby, Groovy, etc.)
  • Built in support for scheduling tasks using the Quartz scheduler.
  • Load-balancing (with or without sticky sessions)/Fail-over, and clustered Throttling and Caching support
  • WS-Security, WS-Reliable Messaging, Caching & Throttling configurable via (message/operation/service level) WS-Policies
  • Lightweight, XML and Web services centric messaging model
  • Support for industrial standards (Hessian binary web service protocol/ Financial Information eXchange protocol and optional Helth Level-7 protocol)
  • Enhanced support for the VFS(File/FTP/SFTP)/JMS/Mail transports with optional TCP/UDP transports and transport switching for any of the above transports
  • Support for message splitting & aggregation using the EIP and service callouts
  • Database lookup & store support with DBMediators with reusable database connection pools
  • WS-Eventing support with event sources and event brokering
  • Rule based mediation of the messages using the Drools rule engine
  • Transactions support via the JMS transport and Transaction mediator for database mediators
  • Internationalized GUI management console with user/permission management for configuration development and monitoring support with statistics, configurable logging and tracing
  • JMX monitoring support and JMX management capabilities like, Gracefull/Forcefull shutdown/restart

New Features of the WSO2 ESB 2.1.1

  • This ESB release is based on the award winning WSO2 Carbon "Middleware a' la carte", an OSGi based SOA platform, version 2.0.1 by WSO2 Inc.
  • Rule based mediation via Drools
  • Fine grained autherization for services via the Entitlement mediator
  • Reliable-Messaging specification 1.1 support
  • Enhanced WS-Eventing support and Event Sources making it an even broker
  • Enhanced AJAX based sequence, endpoint and proxy service editors
  • Enhanced transport configuration management through the graphical console
  • Enhanced integrated registry and search functionalities with versionning, notifications, rating of resources, and commenting
  • Enhanced remote registry support
  • Default persistence to the registry for the configuration elements
  • Enhanced permission model with the user management
  • Enhanced REST/GET and other HTTP method support
  • P2 based OSGi feature support, for optional features like service management, runtime governance and so on..

Bug Fixes and Enhancements

  • Endpoint management issues in clustered environments have been fixed (CARBON-5108)
  • Defects in DBReport, DBLookup mediator UIs have been corrected (CARBON-5084)
  • Script mediator UI has been improved to handle some exceptional scenarios (CARBON-5080)
  • XQuery mediator UI has been enhanced to handle some exceptional scenarios (CARBON-5078)
  • ESB management console has been enhanced to work properly on WebLogic application server
  • UI enhancements to support WebSphere application server
  • Sequence management UI has undergone some minor enhancements
  • Enhancements to support front end - back end separation of the server
  • Reported issues related to transaction mediator have been fixed (CARBON-4225)
  • Issues releated to task creation and management have been rectified
  • Many documentation updates and enhancements

How You Can Contribute

Mailing Lists

Join our mailing list and correspond with the developers directly.

Reporting Issues

WSO2 encourages you to report issues and your enhancement requests for the WSO2 ESB using the public JIRA.

You can also watch how they are resolved, and comment on the progress..

Discussion Forums

Alternatively, questions could be raised using the forums available.

WSO2 ESB Forum : Discussion forum for WSO2 ESB developers/users

Training

WSO2 Inc. offers a variety of professional Training Programs, including training on general Web services as well as WSO2 ESB, Apache Synapse, Apache Axis2 and number of other products.

For additional support information please refer to http://wso2.com/training/course-catalog/

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 ESB, visit the WSO2 Oxygen Tank (http://wso2.org)

We welcome your feedback on this implementation. Thank you for your interest in WSO2 ESB.

Saturday, September 5, 2009

Webinar on Enterprise Integration Made Easy with WSO2 ESB is Done!

So I was busy with the WSO2 ESB webinar and now it is done!, you may find the slides that I have used for the webinar here and if you missed the webinar you may go through the slides.

Also I must say that this webinar has been reported as a record braking webinar for WSO2 with the huge number of attendies.

I will be doing a series of webinars which will demonstrate the functionalities of the ESB starting soon...

Monday, August 24, 2009

Enterprise Integration Made Easy with the WSO2 ESB

So this is about a webinar that I am planning to do on 1st of September 2009 about the WSO2 ESB 2.1 release.


"Enterprise integration can be a real drag for developers. Even though the advent of SOA has made the need for hard-coded integration between each application obsolete, it can be frustrating and time-consuming to get your middleware tools set up to build, mediate and connect services."

You can read the full story at WSO2.org

It is free, and has a limited number of seats ;-) so be hurry, Register Now.

I will be covering the WSO2 ESB focusing on the;
  • An overview of the new OSGi-based architecture
  • The provisioning model to seamlessly add or remove components and custom features to your ESB deployment
  • Better mediation and routing with the new business rules support, powered by Drools
  • How the WSO2 ESB automatically protects your integration development efforts by storing your configuration in a built-in registry
  • Additional enhancements to performance, eventing support, scheduled tasks and REST support
  • Streaming and non blocking HTTP transport and other supported transports, interfaces and protocols
Once again be hurry!

Wednesday, August 5, 2009

[WSO2-ESB-FAQ-001] Per-service logs in WSO2 ESB

Now, that WSO2 ESB is getting the attraction of the community I thought of sharing a piece of useful information through my Blog. I thought I am going to blog about the features of the WSO2 ESB one by one and at the next release we will be including them all in the ESB documentation as FAQ's :-)

So first of all lets focus on the requirement, my requirement is to configure the logs of a particular service (to be more specific a proxy service) to be logged into a given log file. The advantage of having per-service log files is that it is very easy to analyse/monitor what went wrong in this particular proxy service by looking at the service log. Enabling this feature will not terminate the wso2-esb.log file being keeping the logs about this service, the complete log is a complete log and will contain every log statement including the service logs that you have configured to be logged into a different log file. In other words the service log is an additional log file which will contain a copy of the logs to that particular service.

Then, how can you configure this in the WSO2 ESB. So, lets assume that we are referring to the sample 150 of the WSO2 ESB, which has a proxy service named StockQuoteProxy. Now we need to configure log4j to log the service specific logs to a file called stock-quote-proxy-service.log in the logs directory of the ESB installation directory. Open up the log4j.properties file found at the lib directory of the WSO2 ESB installation directory using your favourite text editor and add the following section to the end of the file starting in a new line;
 log4j.category.SERVICE_LOGGER.StockQuoteProxy=DEBUG, SQ_PROXY_APPENDER
log4j.additivity.SERVICE_LOGGER.StockQuoteProxy=false
log4j.appender.SQ_PROXY_APPENDER=org.apache.log4j.DailyRollingFileAppender
log4j.appender.SQ_PROXY_APPENDER.File=logs/stock-quote-proxy-service.log
log4j.appender.SQ_PROXY_APPENDER.datePattern='.'yyyy-MM-dd-HH-mm
log4j.appender.SQ_PROXY_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.SQ_PROXY_APPENDER.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
Well, save the file and you are done with the configuration, and now it is time to try it out. By default the sample 150 configuration doesn't do any logging at run time. So go ahead and configure the proxy service in-sequence to contain a log mediator to log the message at "Full" log level.

Execute the sample client after starting the ESB with the sample 150;
  $ESB_HOME/bin/wso2esb-samples.sh -sn 150
and the sample axis2 server with SimpleStockQuote service deployed on it as per stated in the sample documentation.

Inspect the logs directory of the ESB installation directory to see the stock-quote-proxy-service.log file, further to demonstrate the log file rotation I have configured this particular logger to rotate the file in each minute when ever there is a log going into the service log, so if you execute the sample client once again after 1 minute you will be able to see the service log file rotation as well.

Monday, August 3, 2009

Sri Lanka wins the ODI series over Pakistan

Wow, what a knock it was from Mahela Jayawardhana and Upul Tharanga of 202 record braking opening partnership, which brings Sri Lanka the first ODI series win over Pakistan at Home.

When Pakistan hit 288 I thought "its OK we will be having two other matches at Colombo to mark the series win", coz I never thought we (Sri Lanka) will win the match at Dambulla even without Sanath Jayasuriya. Well, I was completely wrong but after watching 12 overs of Sri Lankan batting I knew that we are going to win. I had much stuff tobe done, but just set for watching a couple of overs of yet another Sokian batting :-), but I get off from my seat even after the awards presentation.

See the Full score card it was marvolles. It was all Mahela's game today Congratulations to him!

Everybody was talking about Mahela who had become the man of the match, well he deserves that, but if not that decision of Ashoka De Silva to wrongly judge Upul Tharanga to be victimed to a LBW, Tharanga would have been going for a century for sure as well.

Apart from that I saw a fabulus catch from Mathews, he is a such a talented cricketer and a great finding into the Sri Lankan team, he can ball very well, his batting is quite out standing and nothign to talk about his fielding, I just got to remember Roshan Mahanama for a second when I saw Mathews taking that in flight return catch.


Finally, this man has something to talk about in every match, so proving that he has his portion to talk about him in this match as well. Congratulations to Muralli for the hurdle of 600 ODI wickets.

I am delighted to see the T/20, Pakistan is the world cup holder ;-), lets wait and see.

Thursday, July 30, 2009

ESB and SOA

This presentation by Paul Fremantle explains the value of the ESB and how you can design your Service Oriented Architecture using best strategies of the WSO2 ESB

Monday, July 20, 2009

Free Training - How to Successfully Configure ESBs for Different SOA Demands and Avoid Common Paths to Failure

Summer School training program brings to you an another interesting session on Configure ESBs for Different SOA Demands by Paul Fremantle.

The enterprise service bus (ESB) is a fundamental building block for creating a service-oriented architecture (SOA). And much like a steel beam, how the ESB is used can mean the difference between setting up a basic structure and creating an award-winning architecture.

Read the full story here, and register for this extremely valuable session at the training page.





You could also use the above widget to register for this course, it is Totally Free!!

Sunday, July 19, 2009

Bill Gates on Sri Lanka

I just got a notification from Google Alerts, (since I had an alert set up for WSO2) on Ajith's blog entry from where I saw this video.



It is amazing that how the world recognizes Sri Lanka on the worlds IT industry... I think considerable amount of acknowledgement should go to Dr. Sanjiva Weerawarana who helps the talented Sri Lankans to show off there abilities on the global IT industry. I am fortunate enough to be guided from him.

Apart form that I should also mention about the University Of Moratuwa, Sri Lanka, which constructs most of these talented Sri Lankan stars from the scratch; well to be more specific the Department of Computer Science & Engineering. I am proud to be part of that as well. For example, when I was entering to the university to do my B.Sc. Engineering degree, I had just only seen a computer and touched it for several times.. but it at least took me 30-40 seconds to type in my name "Ruwan Linton" :-), I am proud to be a well instrumented Software Engineer after 4 years of studies, I know this story is true for most of the people who came to the university from country side, at least on those days. So, a huge thank to CSE - UOM as well.

Congratulations to Sri Lanka... and our guys.

Wednesday, July 15, 2009

Rule based mediaiton enabled in the Open Source ESB

Now you should already be aware of the new release of the open source ESB, which is the 2.1.0 version of the WSO2 ESB.

It is a much matured release, but it is not just the maturity and stability which brings to you by this release but a few very important new features... Top on my list is the Rule based mediation and this post is about that.

First of all lets look at, what is Rules, Rules Engine and what is the importance of Rules in to the message mediation in SOA?

Rules is a functional construct which is used to match the decision making from the technical aspect to the business aspect of it. Basically you need to provide in a set of name value pairs as facts and then you need to specify a set of rules to the Rules Engine, and the engine will process these facts according to the specified rules. When it comes to SOA, it is vital to have this sort of a configurable processing of the messages according to a set of rules over the messages.

This model better fits into an ESB rather than a service hosting environment, this doesn't mean that WSO2 will not going to make it to Rule based services (or may be Rules as a service) but it has much value at the mediation layer, especially with the power of Complex Event Processing with Rules. WSO2 ESB uses the Drools as the Rule implementation which enables you to add CEP to the ESB very easily because the latest release of Drools has the CEP capabilities as well.

The other main advantage of using the WSO2 ESB over any otehr ESB is the comprehensive set of samples which helps you get off the ground quickly. Same is true for Rules as well, we have 6 samples explaining the different behaviors of the Rule based mediations. If you haven't yet tried the open source ESB, now it is the time to get started with it by downloading it or never look at it :-).

Monday, July 13, 2009

Security in SOA

Security is a hard to understand subject for most of the people, yet again just think about how complex it is when it is applied to Service Oriented Architecture. I also had a time where I don't even look at such scenarios... but just have a look at this. Kudos to Prabath and the WSO2 Security team, it is just simple and explained in a story styled presentation.
Yet another good outcome of the WSO2 Summer School training program.

Sunday, July 12, 2009

Implementing Master Data Management Patterns

Master data is important for any business. Managing master data is critical as businesses makes decisions based on them. It is still valid for systems developed following the service oriented architecture styles as well. This article describes how to map MDM with SOA deployments with details of how to architecture. The WSO2 SOA platform is shipped with features required for such an implementation.


This article by Asanka Abesinghe explains how you can implement the MDM patterns with the WSO2 SOA platform.

Friday, July 10, 2009

WSO2 ESB - The Open Source ESB 2.1.0 is Released

It is done! and is out there in GA for you to try at the product downloads page.

This release is a much more stabilized release, with all the OSGi maturity and the component architecture being solidly applied to the product it self.

You could find the Release Note here to get an idea of the release.

If I list the top 5 features of this release;
  1. Rules support with Drools
  2. Fully AJAX based Sequence Editor
  3. Fine grained authorization via an Entitlement mediator
  4. WS-Reliable Messaging 1.1 support
  5. Full REST support
Well, there are many more you should give it a try for sure.

One other thing is that, we have improved a lot on the documentation... you could get a feeling of the improvement if you have seen this documentation earlier, even if not you may realize that this documentation is comprehensive.

One blame that the industry is raising against open source products are the lack of documentation and we have tried our very best to address that in this release. Don't worry it is still open source and released under the Apache Software License v2.0

This ESB release goes with 3 other twin WSO2 products which are G-Reg the Governance Registry, WSAS the Web Services Application Server and IS the Identity Server which you will find interesting to get your hands into.

Saturday, June 20, 2009

WSO2 ESB 2.1 is just about to meet the enterprise

So, first of all... I was not being able to even write a few blogs in the past few months because we are trying very hard to give the birth to the new child of the WSO2 ESB family which is its 2.1 version.

Now it is available for you to try out in the form of beta1. It is interesting that how WSO2 defines the releases.
  • Milestone releases - Each and every milestone will add a set of new features, but we try our best to limit the new features in a given milestone to a absolute minimum (like only one) to prevent the issue of finding which causes the regression X
  • Alpha release - All features are complete, but there is no guarantee about the stability
  • Beta releases - All Level 1 issues are fixed and the release is guaranteed to be stable from the development perspective
  • Release Candidates - All Level 1 and Level 2 issues are fixed and the release is ready to go for the GA
  • General Availability - Ready for the Production
So, currently WSO2 ESB and its all twins including WSAS, G-Reg and IS are on the Beta phase waiting for the birth to the enterprise...

You could try out this and give us the feed back on any sort of an improvement or issues in the CARBON JIRA

Please note that how you run the samples in the WSO2 ESB has been changed and now you are provided with a new script to run samples... which just do some preparation for the samples before runing the ESB. You need to use the wso2esb-samples.sh with the -sn option.

Even though the release is available as beta for the public internally the development is just about to reach the RC phase with no Level1 and Level2 issues. You could see this with the CARBON JIRA where the active development on the release is happening. I need to sync up the ESB JIRA coz most of the issues reported there are already fixed..

Waiting for your feed back for the birth...
The WSO2 ESB 2.1

Enterprise SOA Patterns

The first outcome of the Summer School by WSO2..