I am looking for some guidance on best practices or well known approaches to
building OSGi “enabled” applications. Currently I have an application that
is started from the command line calling a class with a static main(). 

 

Ø  java –classpath <whatever> com.mycompany.MyApplication

 

I’d like to take advantage of the modularity and adability of OSGi but I’m
not sure of the best way of approaching it. Do I embed an OSGi framework in
the existing application? Do I start an OSGi framework and install the
required bundles which would “start” the application? Any guidance on how to
approach this or how others are OSGi enabling their applications or systems
would be appreciated.

 

Reply via email to