As the other gurus told you, most of what you want is already in there out of 
the box, what is missing is the guarantee to handle download interruption 
problems nice in a guaranteed way.

You could "bake" this functionality into an OSGi framework by creating a URL 
handler. This handler could download the remote file, restart with the 
Content-Range option if you run into an error, and at the same time provide the 
data at the same time to the framework. E.g.

        download:http://www.acme.com/mybybdle.jar

Kind regards,

        Peter Kriens



On 29 okt 2010, at 12:24, pavithra shankar wrote:

> ---------- Forwarded message ----------
> From: pavithra shankar <[email protected]>
> Date: Fri, Oct 29, 2010 at 3:54 PM
> Subject: Downloading and installing a bundle
> To: [email protected]
> 
> 
> Hi all,
> 
> Suppose the bundle is not locally present and it is to be fetched from a
> remote server.
> 1. Does osgi specifications support the downloading and installing of a
> bundle over the network?
> 2. if yes, during the course of such an installation, if the network
> connection is interrupted ,( and the bundle jar file is a huge one) is
> downloading from the point where it left off supported or will the whole jar
> have to be downloaded again from the beginning/reloaded?
> 
> Thank you in advance.
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to