OSGi architecture of Carbon

ricker's picture
I was excited to see that WSO2 was OSGi. However, after downloading some projects, I do not see OSGi. I see WAR. I expected to see an OSGi server that runs webapps. Instead I see a webapp that runs OSGi bundles. Am I reading this right?
afkham_azeez's picture

Carbon has been architected

Carbon has been architected in such a way that a it starts life as a webapp, which fires up an OSGi container (We use Equinox). All the Carbon components are OSGi bundles, which get deployed within this OSGi container. A large number of users want to deploy Carbon within a servlet container, hences we've designed it like this. However, you can deploy the Carbon components within some other OSGi container as well, since that is the way it is running even at this moment.
ricker's picture

Does it have to start life

Does it have to start life as a web app? Can I skip the web app part and launch Carbon from the Equinox platform directly?
chao2004.gmail.com's picture

Carbon architecture

Hi, I am trying to figure out the Carbon OSGi architecture as well. I don't understand why you see war. I instead see standalone server which starts the OSGi container and then everything else is deployed into the OSGi container. It is a little frustrating for me that there is no pre-packaged war for tomcat deployment. Tried to follow the instructions to deploy to tomcat, the server started successfully, but I was not able to access the admin console.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
SOA, with its loosely coupled nature allows enterprises to integrate its new systems to address new business requirements and existing legacy systems by safeguarding existing IT infrastructure investments...
Tuesday, February 28th 2012, 09.00 AM (PDT)

Tuesday, February 28th 2012, 10.00 AM (GMT)