Thursday, December 15, 2011

Create and Deploy a Data Service using WSO2 Carbon Studio 1.0.14

I assume you have downloaded latest version of WSO2 Carbon Studio and ready with a Eclipse instance which has latest Carbon Studio installed. 

Now we are going to create a data service with WSO2 Carbon Studio and deploy it to WSO2 DSS within Eclipse. 

Following are the steps that you need to follow.
Create a C-App project (make sure, you are in JavaEE perspective)
  • File -> New -> Project -> Carbon Application Project





Give a name to the project (eg: myApplication) and click Finish


Right click on the C-App and go to New -> Data Service






















You can create a data service in different ways
  • Create a new data service
  • Import existing data service descriptor file from the file system
  • Import existing data service descriptor file from a registry instance





















Select the option you want to create the data service and click Finish
Once you create your data service, it will open in graphical tree editor by default.


















But you can open it using xml editor as well. 
  • right click on the file (Dataservice1.dbs) and go to Open With -> XML Editor



















When you open the data services descriptor file in the xml editor, you will have content assist as well. 





















Once you done with editing, save the configuration.


Delpoy data service in to WSO2 Data Services Server
  • Add WSO2 DSS in to carbon studio
    • Go to Servers view (if you can’t see it, go to Window -> Show View -> Servers)
    • Right click on the Servers view, New -> Server
















In the New Server wizard page, select WSO2 Carbon 3.2 based server under WSO2 catagory. 
You can change the Server Name if you want. Then click Next



























Specify the <carbon-home> where you extract your DSS server


























Then you will get the page where you can specify the ports which your server is going to run. It will display the default ports initially.

In the next page, you can specify the Carbon Projects that you need to deploy in to the server you are going to add. Click on the C-App project and select Add and Click Finish




Start the Server
  • Then start the server by right click on the server instance and select Start
















Now you can see, server is being started.


















Once the Server has been started, you will see, it will start deploying the C-App project


















After successful deployment, you can go to the management console and check whether your data service has been deployed 
















You can do changes to you descriptor file from Eclipse and by redeploying, it will add the modified changes to the server















Future
In WSO2 Carbon Studio next release, we have integrate source view with the design view. And this source view will be fully integrated with content assist. 






















Thursday, September 1, 2011

Catch WSO2 Carbon Studio in WSO2Con 2011

WSO2Con is around the corner. It is the main annual event in WSO2. We are happy to announce that, you can catch lot of stuff regarding WSO2 Carbon Studio during this event. There is a three hours preCon tutorial session where you can experience lot of hands on sessions and a speech which explains Carbon Studio on more abstract level. You can find agenda for the conference here..

Hope to see you all on 12- 16 of Sept at Colombo.

How to create a Web Application using WSO2 Carbon Studio

Check out Dakshitha's blog on how to create a web application using WSO2 Carbon Studio. After reading it, you will understand how easy to create, deploy, test and debug a web application using WSO2 Carbon Studio.

Saturday, May 21, 2011

Apache Maven Support with WSO2 Carbon Studio

Now you have the Apache Maven support for the artifacts you are creating with WSO2 Carbon Studio. This feature was available from 1.0.8 release of Carbon Studio onwards. Latest release of Carbon Studio which is 1.0.9 has the maven support for the following artifacts.

ESB basic artifacts
  • Sequences
  • Endpoints
  • Proxy Services
  • Local Entries
Governance Registry basic artifacts
  • Registry Resources
There is nothing new you have to follow, to get the maven support. All the necessary pom file generation will be done underneath. Users do not want to worry about pom generation. You can find more details on how to try out maven support from here.

We are currently in the process of adding maven support for all the artifacts we have. Those will be available in future releases of WSO2 Carbon Studio.

Friday, April 15, 2011

WSO2 Carbon Studio 1.0.5 is now out!!!

Find the CS 1.0.5 release at http://wso2.org/downloads/carbon-studio

Plenty of new features

  • Carbon Application Tools
    • Ability to create Registry Aspect class
    • Allow creating the library artifact as a fragment bundle
    • Create sequences and endpoints as registry resources
    • Creating registry resources through templates
  • General
    • Adding WSO2 related libraries when developing applications
    • Other usability improvements
  • ESB tools
    • Ability to specify references of ESB artifacts from a filtered list of resources in the workspace
    • Ability to create registry resource references on the fly for ESB artifacts
    • JBoss Smooks tools integration
  • Governance Registry Tools
    • Enable/disable actions and update icons based on permissions for registry resources for the specified user
    • Upload wsdl resources to the registry as governance archives (GAR support)
  • Introduced Carbon Studio contribution features [Documentation pending]
    • Extensions to add custom proxy service templates
    • Extensions to add registry resource templates
    • Extensions to allow adding mediatype resolvers
    • Extensions to specify new 3rd party libraries
    • Extensions to specify resource providers for
      • Registry Resources
      • ESB Sequences
      • ESB Endpoints
      • ESB Local Entries
Join in our forum (http://wso2.org/forum/194) to discuss these new features or any issues you may have. Or mail us to carbon-dev@wso2.org