Achieving Eclipse Launch in OSGi

I am creating an OSGi application and you need to create an OSGi application launcher similar to Eclipse.

For those who don't know when an OSGi application is launched through Eclipse OSGi, Equinox starts and automatically manages the order in which packages are started and stopped. From what I have experienced so far, it seems to be very effective in what it does.

I want a similar piece of software to be able to build powerful OSGi distro applications that can take a dynamic group of packages and, without rewriting any code, run the application correctly and in the correct order.

I am curious to know how Eclipse effectively achieves this result and how I can achieve the same result.

Thank,

Steve

+2


source to share


1 answer


You have two options:
1) use a pax runner
2) Use an eclipse beam as a starter (I believe that org.eclipse.equinox.launcher

)



Edit:
1 *) For equinox starter options see this link Config item and all that ... BTW I was wrong this is not a launcher, it is general and update packages.
2 *) Example of Fox pax leader see this screenshot

+1


source







All Articles