Under the present invention, each client device will have a corresponding
configuration that is accessible to the server. Each configuration sets
forth various computer resources as well as corresponding normalization
and importance factors for the associated client device. If a certain
OSGi bundle is to be loaded and run on a particular client device,
certain prerequisites (e.g., services packages, etc.) will likely be
necessary. Any prerequisites that the client device lacks will be
obtained using potential combinations of other OSGi bundles registered
with the server. The most appropriate combination of OSGi bundles will be
selected from the possible combinations by processing the configuration
based on the amounts of computer resources of the client device that will
be consumed by each of the possible combinations.