wiki:EmbedWebApplication

Embedding a Web Application into a Servicia Runtime

External web applications can be embedded into a Servicia runtime. Servicia provides a Jetty web container which manages the start of the web application.

Folder structure

The example layout shows an embedded web application into the MyServiciaService.

service/
   MyServiciaService/
              index.html
              WEB-INF/
                  service.xml 
                  web.xml
                  lib/
                  classes/

Assuming the runtime will be started at port 9999 the web application's index.html will be available at http://localhost:9999/MyServiciaService/index.html

Runtime Configuration

Add the WebServiceSupport service to your runtime. This service provides some classes needed to handle JSP pages. You will find it in Dependencies/service/WebServiceSupport.

Last modified 10 years ago Last modified on 05/30/08 11:48:06

Attachments (1)

Download all attachments as: .zip