Hi all,

I would like to hear the comments for the solution proposal for updating a
bundle within an EBA, and the related JIRAs are:

https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-718 Update a bundle
within an EBA
https://issues.apache.org/jira/browse/GERONIMO-5861 Update a bundle within
an EBA

The point of the JIRA is to ONLY re-deploy the updated bundle in EBA instead
of re-assembling and re-deploying the whole EBA to save the time in the case
that the EBA is huge.

The rough proposal is:
Step 1. update a specified bundle using osgi:update
Step 2. osgi:refresh the other bundles in the EBA to refresh the links to
the updated bundle

This means that the updated bundle will be only in the cache, and in the
following cases the updated bundle will be lost, and the original bundle
included in EBA archive file comes back.
1. Start geronimo server with -clean option
2. Restart EBA application in Admin console -> Application EBAs

This new feature is designed for application development phase to speed up
application testing, and it can be turned off in GEP in case that user wants
to re-deploy the whole EBA with any update.

Any comments on the solution?

-- 
Best regards,

Han Hong Fang (Janet)
hanhongfang AT apache.org

Reply via email to