Thursday, October 14, 2010

WSO2 Carbon Studio 1.0.0 is out

We are very happy to announce that the WSO2 Carbon Studio 1.0.0 is finally out. You can download latest packs from here. WSO2 Carbon Studio is a comprehensive set of SOA tools which is developed as an Eclipse plugin. This provides you a powerful environment to develop, test, deploy and run WSO2 Carbon based artifacts.

Complete set of documentation can be found from here which includes some samples as well.

How to install WSO2 Carbon Studio in eclipse in a more descriptive manner can be found here.

Check the Quick Start on WSO2 Carbon Studio as well.

Please join us with our upcoming webinar to get a good knowledge of WSO2 Carbon Studio and it's capabilities.

Saturday, September 25, 2010

Wait for WSO2 Carbon Studio 1.0.0

Carbon Studio 1.0.0 release is round the corner. Carbon Studio is a fully fledged SOA development environment which is a Eclipse Plugin. With Carbon Studio, you can develop, test, deploy and monitor most of the WSO2 products in a single eclipse workspace.

Several existing Eclipse tools integrated to the plugin in order to give more user friendly environment. Eclipse BPEL designer plugin and OSDE plugin have been modified and integrated.

Here are some of the available features
  • Web Service Application Server tools - create Axis2 services, .aar files etc
  • Enterprise Service Bus tools - create sequences, endpoints, proxy services, local entries, synapse configurations, custom mediators etc
  • Governance Registry tools - create registry resources, governance registry plugin capabilities, registry handlers, registry filters etc
  • BPEL tools - create BPEL artifacts with graphical BPEL editor
  • Data Services tools - create Data Services, data service validators
  • Gadget tools - create gadget artifacts with integrated Open Social Development Environment capabilities
  • Carbon Application tools - create Carbon UI bundles, 3rd party libraries etc
  • Running carbon 3.0.1 and 3.1.0 Servers from Eclipse where you can deploy created artifacts and test
Here are some of the screen shots of Carbon Studio capabilities.

You can download latest alpha release of carbon studio from or

Saturday, June 5, 2010

WSO2 Governance Registry Eclipse Tool v1.0.0-beta

WSO2 Governance Registry Eclipse Tool v1.0.0-beta has been released. This is a light weight eclipse plugin which will give you registry functionalities in a very user friendly manner. As a pre-requisite, you need latest version of a running WSO2 Governance Registry in your local machine or in any other remote instance.

Key features :
  • Add different remote registry instances
  • Add, edit, delete collections, resources
  • Add, edit, delete properties, associations, dependencies, comments, tags for a resource or collection
  • Link with editor
  • Add multiple files and folder from file system
  • Import/Export resources and collections
  • Drag/Drop resources and collections
  • Modify permission for a resource, collection
  • Refresh registry
  • View information per resource and collection (properties, dependencies, associations, tags, comments etc)
  • Check-out a collection to local project (both ways)
  • Do changes and commit back to registry, update with registry
  • Show in Registry Browser
  • View versions, restore versions
  • Double click on a resource to open the resource in the relevant editor of eclipse
  • Add, modify, delete users
  • Change role permissions of resource

You can find more details from our project home page.

Friday, June 4, 2010

Programmatically create a P2 Repo in eclipse

You can create a P2 repo programmatically with your plugin using extensible API of P2 publisher. P2 repo contains four items as plugins folder, features folder, content.xml and artifact.xml.

Here is the code:

import java.util.Collections;

import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager;
import org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.artifact.repository.IArtifactRepository;
import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException;
import org.eclipse.equinox.internal.provisional.p2.metadata.repository.IMetadataRepository;
import org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory;
import org.eclipse.equinox.internal.provisional.spi.p2.metadata.repository.SimpleMetadataRepositoryFactory;
import org.eclipse.equinox.p2.publisher.IPublisherAction;
import org.eclipse.equinox.p2.publisher.IPublisherInfo;
import org.eclipse.equinox.p2.publisher.Publisher;
import org.eclipse.equinox.p2.publisher.PublisherInfo;
import org.eclipse.equinox.p2.publisher.eclipse.BundlesAction;
import org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction;
import org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager;

public class PublisherExample implements IApplication {

public Object start(IApplicationContext context) throws Exception {
IPublisherInfo info = createPublisherInfo();
IPublisherAction[] actions = createActions();
Publisher publisher = new Publisher(info);
publisher.publish(actions, new NullProgressMonitor());
return null;


public void stop() {


public static IPublisherInfo createPublisherInfo()
throws ProvisionException, URISyntaxException {
PublisherInfo result = new PublisherInfo();

// Create the metadata repository. This will fail if a repository
// already exists here
IMetadataRepository metadataRepository = new SimpleMetadataRepositoryFactory()
.create(new URI("path to create the repo"),
"Sample Metadata Repository",

// Create the artifact repository. This will fail if a repository
// already exists here
IArtifactRepository artifactRepository = new SimpleArtifactRepositoryFactory()
.create(new URI("path to create the repo"),
"Sample Artifact Repository",

| IPublisherInfo.A_INDEX);
return result;

public static IPublisherAction[] createActions() {
IPublisherAction[] result = new IPublisherAction[2];
File[] bundleLocations = new File[1];
bundleLocations[0] = new File("location of the feature folder");
BundlesAction bundlesAction = new BundlesAction(bundleLocations);
FeaturesAction featureAction = new FeaturesAction(bundleLocations);
result[0] = bundlesAction;
result[1] = featureAction;
return result;

In here, you have to define the path you want to create the P2 repo which is called as metadataRepository. At the same time, you have to specify the source path where it contains bundles and features that you want to added to the P2 Repo.

Thursday, April 1, 2010

Celebrating 1st year anniversary of work

It's been almost an year that I've started working as a software engineer. I started my career in a well known open source company called WSO2 on 2nd of April 2009. Today I'm celebrating my 1st anniversary at WSO2.

When looking back the past year, I'm really happy about the work experience I got here in WSO2. It s a great place to start your career. One good thing about WSO2 is you will never stop learning. Everyday at office is a challenge. It is not you are doing the same thing over and over again.

There are lot of fun activities you can attend too.. Basketball, carom, and there are lot of other fun events you can participate when ever you feel bored.

Thanks alot WSO2 for all the things that taught me during last year !!!

Monday, March 29, 2010

The Lost Symbol

I was able to finish reading another great book from Dan Brown called "The Lost Symbol" today. It took a great time for me to read due to other workload I have to do. There were lot of times, that I felt of giving up reading that. But after reading that, I felt so happy and I recommend anyone to read that great book.

The lost symbol of mankind is the god which is same as human mind which is the universal constant for man. It is described in many different ways in different cultures and religions but all has shared the same thing.

I will wined up my post quoting something from the book..


Hope someone may fascinated to read the book after reading this :)

Saturday, March 27, 2010


Today I did my IELTS examination. I did not have time to attend to a course, so what I did was self study. After facing the exam, I felt that even if I attend the classes, thing may not change that much. I only had the reference book borrowed by one of my friend and other resources in the internet.

I'm writing this blog to give some tips that I learnt after facing the exam.

As you may already know, IELTS exam consists of four modules as listening, reading, writing and speaking. In my opinion, hardest parts are listening and reading, so you better prepare more for those parts.

There are plenty of videos in youtube which give u many tips for IELTS. My advice is to do as much as practice tests. Here are some useful links where you can find some practice tests for each module.

so good luck to all !!!