Saturday, January 31, 2009
Australia's supremacy in Cricket is dead and gone
Its been a magical tour for South Africa, nobody would have bet that they would defeat Australia in both forms of the game. Australia's supremacy is dead and gone. I don't see them making a come back in the near future. It wont be long before they loose the top spot in the test ranking as well
A few busy weeks
In the third week of January, when Paul and Jonathan were down in Sri Lanka we were busy with planning for 2009. A group of us (A big group at that) spent three days offsite planning things out for 2009.
Last week I was out in Canberra on a consultancy engagement. It was my first visit to Australia and my first overseas trip in 2009. More on Canberra to folow...
Nadal Vs Verdasco - A Cracker of a Match
For those who missed it, just have a look at this "Shot of the day" from day 12 of the Australian Open. It shows the quality of the tennis that these guys played. The celebration from Nadal at the end of the match showed how much he respected his fellow countrymen Verdasco.
Saturday, January 17, 2009
WSO2 Carbon & Axis2 Cluster Configuration Guide
In the first article titled "Introduction to WSO2 Carbon Clustering" he explains the core concepts of clustering an in the second article titled "WSO2 Carbon Cluster Configuration Language" he explains in detail as to how WSO2 Carbon based products can be clustered.
Free Webinar - OSGI and SOA
In this Webinar Paul Fremantle, Co-founder and CTO of WSO2, will introduce the OSGi framework. He will also talk about how OSGI fits in with SOA and how it has enabled WSO2 build the revolutionary Carbon framework.
This Webinar will be held on Thursday, 20th January 2009 09:00 AM (PST), so Register now.
Saturday, January 10, 2009
A brave journalist (Lasantha) silenced
Lasantha Wickramatunga was a brave journalist who fought against injustice. He was the Editor of The Sunday Leader. Apperently he had received several death threats in his time and the sunday leader press was burnt down in 2007 by an armed gang. Lasantha was most influencial in bringing to light many currupt deals of the government. These include the alleged MIG deal and details of Mihin Air which has been a total failure.
This attack comes just 2 days after a leading media station in the country was attacked and destroyed by an armed gang. This gang had used a claymore weighing 8 Kgs to destroy the MCR (Main Control Room) of this media station.
The current security situation in Colombo is that there are many road blocks in the city and vehicles are searched at most locations. In the instance where the media station was attacked, it was carried out at 2.15 AM in the morning by a white van which did not have a number plate. At that time in the morning you don't get too many vehicles on the road and its surprising that this vehicle was not checked at a single checkpoint as such. Even in the case of Lasanthas shooting, it was carried out at 10.30 AM in the morning in broad day light.
The government who condemns the attack says that they will conduct a broad investigation into this matter. Can the people believe the government? Not really. Not when ministers in this country can brake into media stations and assault its officials. This alleged minister is still free and is still a minister. One could say that the people are to be blamed for electing such ministers. But thats not the case, this alleged minister did not go into parliament by votes cast by voters. Apparently he got the least number of votes in Colombo (something around 2200 votes and Colombo has over 1 million voters) and was rejected by the people. But made it into parliament from the national list. The president who is the leader of this political party should take the full responsibility of this appointment.
In a society where people have diverse ideas, its a fact that not all will agree with what a person has to say. That does not give the right to anybody to silence another person.
Tuesday, January 6, 2009
Mahela please learn a lesson from Ponting
Having said that I very much appreciate the way the Australians make sporting decelerations. This (The current match been played against South Africa) is not the first time they have done it either. Both Steve Waugh and Mark Taylor used to do it as well. sporting decelerations makes the match much more interesting and Mahela please take note of that. Sri Lankas declaration today against Bangladesh (setting them a target of 624) was a mere joke. Its true that today was just the fourth day of the test but why do you need to set Bangladesh such a big target? This is something that Mahela should learn from Ponting.
This is not just a problem with Mahela, we see this same problem with other asian cricketing nations too. Asian nations (cricketing) do not want to give anything away, they do not want to take the risk of loosing the odd match in favour of winning a bunch. That is the very reason as to why sub-continent matches end up been drawn more often.
Invoking secured services couldn't be easier
The service securedService running up on mooshup.com has been secured such that the request sent to this service should be encrypted and all requests should contain the username and password in a SOAP header (requires Username Token). Hence all registered user on mooshup can access this service. A client for this scenario would be simple as,
invokeSecuredService.inputTypes={"firstParam" : "string" , "secondParam" : "string"};
invokeSecuredService.outputType="string";
function invokeSecuredService(firstParam, secondParam) {
var request = new WSRequest();
var options = new Array();
options.encryptionUser = "keithspublickey";
options.username = "yourUsername";
options.password = "yourPassword";
var payload = {firstParam}{secondParam};
var result;
try {
var service = new QName("http://services.mashup.wso2.org/securedService", "securedService");
request.openWSDL("http://mooshup.com/services/keith/securedService?wsdl", false, options, service, "SOAP12Endpoint");
request.send("demo", payload);
var response = request.responseE4X;
result = response["return"].toString();
} catch (e) {
system.log(e.toString(),"error");
return result = e.toString();
}
return result;
}
You could follow the "Invoking Web Services from a Mashup" tutorial to get a feel of how easy it is to access web services using the WSO2 Mashup Server.
Monday, January 5, 2009
Invoking Web Services from a Mashup
- Mechanisms that the WSO2 Mashup Server provides to invoke web services
- The pros and cons of each mechanism
- An example showing how each of these mechanisms could be used to invoke a web service in a synchronous as well as asynchronous manner. It also gives an example as to how a secure service could be accessed.
Sunday, January 4, 2009
How to deploy services on the WSO2 ESB
The WSO2 ESB (Enterprise Service Bus) did not allow deploying services on it right up to the 1.7 release. But we did have a few customers who wanted that feature. Now with the revolutionary WSO2 Carbon framework (Which all future generations of WSO2 products will be built on) users can have their ESB just the way they want. The traditionalist who prefer to have there services separate from mediations could use WSO2 WSAS and the WSO2 ESB. For those who want service deployment on their ESB, its just a matter of grabbing the service deployment components and dropping it into your ESB. Charitha has written a nice little blog post that explains how this could be done.
Missing bits of the Carbon team
Visits to this Blog in 2008
The graph looks like the city of Colombo with one huge sky scraper. That was the month that I started blogging extensively about Axis2. Its nice to see that these posts did help quite a few readers in sorting out there issues. I plan to blog more extensively in 2009, so stay tuned. And a big thank you to the readers of this blog.
A look back at a Fantastic 2008
2008 was a busy and successful year. It was also a year that I traveled a lot. I traveled to the US 6 times and spent about 2 months out of the country.
To start the year off we had the 1.0 release of the Mashup Server in January. Soon after the release I traveled to the US to deliver a talk titled “Mashups, Social Enterprise, Javascript and Open Source: A real mashup! “ at the Open Enterprise 2.0 Mashup Summit: Expanding Customer Value Networks held at NYC Seminar and Conference Center, NY. That was my first visit to the US and it was quite a long one. During this visit I spent a weekend in New York city and took the opportunity to visit the Statue of Liberty and Elis island. After a weekend in New York city I headed down to California to spend a week in the Mountain View office. During this period I also went down to Jonathan's place in Auburn and spent a few days there. We spent time planning out the future features we needed for the Mashup Server. During the weekend we did some hiking looking for a few geocaches and some kayaking as well. It was my first time on a kayak and it was fun. The next week I headed out to New York back again to attend the Web services on Wall street conference.
After a 2 week visit to the US I spent 2 weeks at home before heading out to the US again. This time it was to conduct a few training at SDWEST 2008 which was held in the Santa Clara convention center in California.
This time I had one week at home before heading out to the US again. This time it was to attend the Microsoft Web Services Interop Plug-fest held at the Microsoft campus in Redmond, WA. On our way to Redmond we were gonna spend a day in the Mountain View office as well. The good thing that time around was that I was not traveling alone. Actually this is the only time that I have traveled to the US with my colleagues. It was an unforgettable trip too with us missing our connecting flight from Los Angeles to San Francisco, this was after spending about 40 hours from Colombo to Los Angeles. We spent the night in Los Angeles and headed out to San Francisco the following morning. We then headed off to Seattle later that evening. Been there along with quite a few friends meant that we had a good time.
My next visit to the US was in May and it was back to New York city. It was a consulting engagement and it was for a large stock broker in Wall Street. They were gonna use WSO2 WSAS and WSO2 ESB as a solution to there requirement. We were able to get then started off within just 5 days of work there. Now they are using this solution in production and is one of our good customers.
In between all these travel arrangements I was working on the next release of the WSO2 Mashup Server as well. We were able to release the 1.5 version of the Mashup Server in July. This was a major accomplishment for us.
My next visit to the US was in August to conduct a four day training course on Apache Axis2. This time around I was in the scorching heat of Phoenix, Arizona.
It was just about this time that we were seriously starting work on WSO2 Carbon and the rest of the year was spent on making WSO2 Carbon a success. But my traveling for the year wasn't over, my last visit to the US last year was to attend ApacheCon US 2008 which was held in New Orleans. This was by far the best trip I've had to the US.
To finish off a fantastic year we had a few beta releases of WSO2 Carbon based products. This year will be spent solidifying the products built on the WSO2 Carbon platform. I will be also looking forward to releasing the 2.0 version of the Mashup Server which will be based on WSO2 Carbon.
Friday, January 2, 2009
Experiance at ApacheCon 2008 in New Orleans
ApacheCon itself was a great event with several good talks and keynotes. A highlight of the event was the "Funeral march for proprietary software".
This was a really fun event where we marched along the streets of New Orleans with the world famous Rebirth Brass Band and ended up in the "Howling Wolf Music Hall". I did upload quite a few photos of this event too :).
New Orleans was a fun place to be in and it sure was a city that never sleeps. It was late nights on a daily basis with us walking from one club to another. Baring a couple of days where I went to bed early the earliest I slept was 3.00 AM which there were a couple of days that I slept at 6.00 AM as well. It was all about getting to know each other in the Apache community and having fun together. It was the best trip I had to the US.
I also took the opportunity the walk around New Orleans. I did visit the famous French Quarter area as well as Cafe Du Monde which is famous for there French Donuts. And yes I didn't forget to get a pack of Cafe Du Monde Bignet Mix. I also visited the Aquarium down there and it was an amazing experience. It was the first time I had visited an aquarium of this magnitude and I made sure that I got plenty of pictures so that I could share the experience with my family.
Its official - Sri Lankan troops capture Kilinochchi
Well it was like the dawn of another year with fire crackers firing all over the place. That shows how much the public embraces this important moment.
Now to the other side of the story, in Sri Lanka everything has a political influence. And I'm sure the government will use this to there utmost advantage. Even during the speech made by the President he asked all people of this country to make a sacrifice so that this war could be finished soon. Well thats a fair enough statement but why cant the government make a sacrifice too?. The government is maintaining over 100 ministries (Mind you Sri Lanka is a small country with just over 20 million people) and no moves have been made to cut down the waste made by these ministers. They keep spending our tax money and enjoy a luxurious life and expect the poor tax payers of this country to make sacrifices.
Well a good example is the fuel crisis in Sri Lanka. A few weeks ago the supreme court ordered that petrol be sold at Rs. 100 a liter and that the tax charged on petrol should not exceed a 100%. At the time of this verdict petrol was Rs. 122 a liter. The response of the government to this situation was turning a blind eye on the verdict of the supreme court. On the eve of the new year the government announced that they would reduce petrol by Rs. 2 and that it cannot reduce it further due to the high expense incurred on the war. Well true enough, the expenditure on defense matters is high and we can see the benefits of it, but has any measures been taken to cut down on the unnecessary expenditures made by the government? Is it just the poor tax payers of this country that should make all the sacrifices? Motor vehicles in Sri Lanka carry a tax of around 300%-400%, and all ministers are given tax permits to bring down luxury vehicles. These luxury vehicles are very high in fuel consumption and even the fuel is provided by the government (or by tax payers money). Now Mr President, why not cut down on those cost? Why not get your ministers to make sacrifices?
Kilinochchi on the Brink of Falling
Thursday, January 1, 2009
Podcast - Can WSDL 2.0 be used to describe a RESTfull service
In this podcast I mention about a couple of examples up on mooshup.com which shows how a RESTfull service can be described using WSDL 2.0. You could find more details about that example here.
Podcast on WSDL 2.0 - The need for it
In this podcast I also mention about the interop we had for WSDL 2.0. The results can be seen here.