SewingStubApplication

App Image

 Download Latest Version 
   June 18th, 2009   ·   807 views  /  461 downloads

Admin Administrators: Bug Labs teambballantine

Category: Tutorials    Maturity: Beta    API version: not specified
Tags: sewing  web  webframework  howto  Tutorial 

Application may depend on:
  • App Image com.buglabs.osgi.sewing
    provides com.buglabs.osgi.sewing.pub.util, freemarker.template, and com.buglabs.osgi.sewing.pub

This is a stub for begining a Sewing application. Sewing is a simple web framework for embedded OSGi. The Sewing framework can be found here: http://buglabs.net/applications/com.buglabs.osgi.sewing

To get started, download the Sewing framework and this application. Rename this application and update the Bundle-Name in the manifest with the new name. Then, start looking at the code.

Start with the ServiceTracker, which registers a servlet in the doStart() method. That servlet will contain most of your java code. In the servlet, you define your controllers and map URLs to them. These also correspond to freemarker (fml) templates in your templates directory. There is some explanatory code in there to help you out and if you have questions, jump on IRC and ask.

Lastly, for help with the templates, please check out the fm-classic site: http://fm-classic.sourceforge.net/


Download Download Latest Version

Version Date Uploaded by Notes  
Version 2 July 2nd, 2009 bballantine  Fixed build path problem (more) Fixed build path problem (collapse) download
Version 1 June 18th, 2009 bballantine  Initial upload of sample app (more) Initial upload of sample app (collapse) download

This application is licensed under the GPL Version 2 license agreements.

Viewing SewingStubApplication   Link