Patent ID: 8230389

Claim:
A method of dynamically creating an OSGi bundle, comprising: determining a directory for creation of said OSGi bundle, a runtime environment, and an OSGi framework; determining a functionality and a data for said OSGi bundle based on said runtime environment and said OSGi framework after said determining said directory; creating a JAR file of said OSGi bundle with said data and said functionality after said determining said functionality and said data; creating a bundle manifest for said OSGi bundle accordingly after said creating said JAR file; installing and starting said OSGi bundle after said creating said bundle manifest; and using an activator of said OSGi bundle to any one of initialize services and perform any additional tasks after said installing and starting said OSGi bundle, wherein one of a main OSGi bundle and an application performs said determining, said creating, and said installing and starting, wherein said main OSGi bundle and said application have logic that enables said determining of said functionality and said data offered by said OSGi bundle, wherein an initialization of said services and a performance of said any additional tasks is dependent on said functionality and said data of said OSGi bundle, wherein said main OSGi bundle comprises an activator launched prior to said determining said directory, wherein said activator of said main OSGi bundle performs said determining, said creating, and said installing and starting, and wherein said application installing and starting said OSGi bundle is framework dependent.