BUG Community

Welcome! Log In

Posts

  • PROJECTS: Chat with a BUG

    I little while back I stumbled across an article that talked about one man's work of building an extendable IRC bot with OSGi.A little more recently, I read about why GitHub encourages side projects, which...

  • HOW TO: The Whiteboard Pattern

    There was a time when computer programs were expected to run unattended. A program was a set of instructions and input data that was fed into the computer, and if everything went well some output...

  • HOW TO: Adding Commands to the OSGi Shell

    Usually you will want to interact with your BUG application using a GUI, a web service, or an interface provided by a module. But sometimes you want to be able to tell an app to...

  • HOW TO: Use a database on BUG

    Here's a quick howto on using Apache Derby on the BUG 2.0 to get hot RDBMS action.Step 1, download the Apache Derby binary package from http://db.apache.org/derby/derby_downloads.html.  I chose the 'lib' distribution.  Unsure if Derby supports running...

  • DEVELOPMENT: OSGi service binding II: muddy waters

    In the first post regarding binding to OSGI services on BUG, we covered the simplest (and most common) case: binding to a set of services and running an application when all services are available.  Now...

  • HOW TO: OSGi service binding without throwing in the kitchen sink.

     In the BUG 2.0 software release we've added an API to allow for easy service binding with minimal code.  The API is in com.buglabs.application.ServiceTrackerHelper and the primary actor is the ManagedRunnable.  To illustrate the usage of...

  • DEVELOPMENT: Publishing BUG data to Pachube

    Interested in the Internet of Things?  Devices talking to each other?  Pushing data from your BUG to the cloud?  Check out what I did in a few hours with BUG and Pachube...

  • DEVELOPMENT: J2ME-style Location API on BUG

    Recently while wrangling with an internal project that required some basic location functionality, I became pretty intimate with the BUG location API.  While the basics of retrieving location information from the GPS device is pretty...

  • HOW TO: BeagleBoard, Java, OSGi, and Benchmarking

    The BeagleBoard is a sweet little single board computer from Texas Instruments, based on the OMAP 3530 processor. It features audio in and out, S-Video and DVI out, USB, RS-232, and an SD card (though...

  • HOW TO: What is OSGi?

    We mention OSGi at Bug Labs so often that sometimes we forget that a lot of people have never heard of OSGi or used OSGi before hacking on the BUG. I certainly hadn't when I...

  • DEVELOPMENT: Jigsaw coming to a phone near you?

    Here at the M3DD conference in San Jose, I was suprised to learn that Project Jigsaw, or the latest Java modularity effort, was mentioned in a presentation by Florian Tournier regarding PhoneME's 2009 road map. ...

  • DEVELOPMENT: Svenska from Malmö

    I am in Sweden at OREDEV, a software development conference.  I was invited here to talk about BUG and am very happy to attend.  Yesterday I presented a three hour tutorial on BUG, and we...

  • DEVELOPMENT: Using ServiceTrackerHelper rather than the AST

     While working on some tutorial material I pulled up the old SimpleGUI application.  It's pretty basic, but I've always been mildly troubled by the verbosity of the boiler plate code in the AbstractServiceTracker.  A while...

Powered by Community Engine

Top
Login
Close
Bottom