WSO2 SOA Enablement Server can run as a standalone application server. It can also be embedded and managed within another application. When WSO2 SOA Enablement Server is embedded, you can manage its initialization and destruction, start and stop the server transports, handle runtime publishing (see the section Runtime Publishing), service lifecycle and more.
One concrete example of WSO2 SOA Enablement Server embedding is a servlet container, used for porting WSO2 SOA Enablement Server to other application servers. Servlet transport is a servlet which manages WSO2 SOA Enablement Server initialization and destruction and dispatches messages there. This servlet is plugged into a servlet container. When this container loads the WSO2 SOA Enablement Server servlet, WSO2 SOA Enablement Server is initialized. When the container destroys the WSO2 SOA Enablement Server servlet, WSO2 SOA Enablement Server is destroyed. For more information, please see Servlet.