WSO2 Carbon - HTTP Bridge
· There are two ways to use OSGi in server-side[1].
In Carbon, what we have done is, embedding an OSGi framework inside a servlet container.
So BridgeServlet delegates all the request from the servlet container to the
HttpServiceServlet registered by the http.bridge bundle. This is required only
when Carbon is running inside a webapp.
There is a possibility to embed an HTTP server(ex. jetty) inside equinox and
start a server with all our carbon bundles. This is same as running carbon
inside spring DM server. For this scenario, we do not need
org.wso2.carbon.http.bridge bundles and the org.wso2.carbon.bridge extension bundle.
1. http://eclipse.org/equinox/server/http_quickstart.php
Download JD-GUI to open JAR file and explore Java source code file (.class .java)
Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window org.wso2.carbon.http.bridge-4.9.3.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.