See my answers bellow.

On 9/21/07, David Leangen <[EMAIL PROTECTED]> wrote:
>
>
> Alin,
>
> I'm looking to upgrade pax-runner. I noticed that
> you have been doing a LOT of work in this area, and that runner has
> really progressed, though I haven't really been following the threads.
>
> Nice job, Alin!


Thanx.

Are you doing this for a school project? IIRC, I think you mentioned
> something like that on the list...


I'm doing it in my free time.

Anyway, I have some questions, and probably will have some more later,
> too.
>
> To start: how does the wrap handler work? IIUC, you are doing some magic
> and installing some kind of virtual, in-memory bundle. How does that
> work (briefly)?


It implements the OSGi  url handler and when requested it will take the
wrapped jar, use bnd to actually do the wrapping and give back an input
stream to the resulted OSGi bundle. What the "user" of the wrap: url does
with the input stream is not in the scope of wrap handler. In runner, the
input stream is saved to the cache folder as a file (jar) and is passed to
the target platform.

Also, I'm going to be interested in the OBR hander... any plans to
> implement that in the next couple of months?


Yes.

What's a "white box pattern"? I googled, but didn't see any results
> except for the page where you wrote it. ;-)


How Pax Web Extender is working is a working example of white box mode. I
saw this white box model referenced as the name for how extenders work on
some mail lists and I also recall something from Knopflerfish docs bu I can
not trace back those references. We can call it also extender model/pattern
if you consider is more clear.

What is a use case for the classpath handler? I thought that the whole
> purpose of grouping in bundles was to control how resources are
> accessed... aren't you making a mess of this?


If someone needs access to a resource from classpath as for example a
configuration file it needs to access it via BundleContext. If this is done
via programming then is easy because is just a call you have to write. But
when you have to express it in a configuraion file this is not so easy
anymore.
Using classpath: urls is a conscious action so it's up to the user if he
uses or not.

I'll probably have more questions later, but thanks for now!
>
> Dave
>
>
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to