BUG ships with the PhoneME Advanced Personal Profile JVM and an OSGi implementation called Concierge. The stack is very lightweight, designed to run well on embedded devices. This lightweight software stack has it's obvious advantages, but it can be limiting when trying to write apps geared more toward desktop or server environments.
One of Concierge's facilities is a very bare-bones HttpServlet implementation. It makes writing simple web applications and services possible, but not necessarily easy. Meanwhile, modern web frameworks tend to require Java 1.5 or better and a more complete servlet container. Out of these limitiations, and a desire to create compelling web applications served from the BUG, Sewing was born.

Sewing is a simple embedded-OSGi web framework.
Sewing offers some conventions and abstractions that make developing web applications on BUG much easier. Sewing also includes some libraries from FM-Classic, a pre-cursor to the popular template engine, freemarker. FM-Classic allows programmers to create dynamic, data-rich web pages. Lastly, Sewing runs within the Concierge OSGi runtime on BUG, which provides access to other BUG applications, BUG services, hardware modules, etc.
The easiest way to get started with Sewing is to download the framework into Dragonfly. It is currently in Beta release and can be found on BUGnet here: http://buglabs.net/applications/com.buglabs.osgi.sewing. Next, download the SewingStubApplication, which is a good starter application that includes useful code and documentation: http://buglabs.net/applications/SewingStubApplication. Finally, give us feedback. We hope to include Sewing as part of the stock installation of the BUG software stack, making it even easier to create web applications on BUG.
For help with the freemarker templates and the creation of model objects (for loading data in your templates), please check out the fm-classic site at http://fm-classic.sourceforge.net/. We're working on a more comprehensive tutorial, but for now, feel free to ask for help on our IRC channel. And happy sewing!
Loading recent content...





Post Comments
Add Your Comment!
nike air max http://www.nike-nike.com
nike air max 90 http://www.nike-nike.com
nike air max shoes http://www.nike-nike.com
MBT shoes http://www.mbtshoes.cc
anti shoes http://www.mbtshoes.cc
cheap mbt http://www.mbtshoes.cc
coach bags http://www.coachonsale.net
coach outlet http://www.coachonsale.net
coach outlet store online http://www.coachonsale.net
chanel bags http://www.chanels.cc
chanel online http://www.chanels.cc
chanel handbags http://www.chanels.cc
louis vuitton bags http://www.uselv.com
LV handbags http://www.uselv.com
louis vuitton outlet http://www.uselv.com
coach outlet http://www.coachs.cc
coach outlet store online http://www.coachs.cc
coach handbags http://www.coachs.cc
I recently to visit your blog, reading, I very much enjoy, and above the content is great.
Some people guess that the wap ringtones are available at ringtones services and that is truth.
Couldn't agree more. Developing web applications is much easier. Not to mention the fact that you get access to some extra BUG applications. For me it's great.
I tried sewing today, and it's really sweet! It makes web dev on BUG so much easier.
» Comments RSS