On Tuesday 19 February 2008 01:25, Damian Gołda wrote:
> What implementation of HttpService works correct?

Neither.

> P.S.
> In OSGI 4.1 spec I can't find anything about classloaders in
> HttpService description.

Correct observation. Http Service spec doesn't involve classloading, and 
servlets are not supposed to do any classloading on their own, as all 
resources are expected to be resolved via a supplied HttpContext.

Both Equinox and Pax are trying to extend the spec. Not sure of the Equinox 
strategy, but Alin is trying to be as spec compliant as possible with 
the "Pax Web" project, and put the extensions in separate subsystems, such 
as "Pax Web Extender".

Your case; You are depending on an unspecified behavior and therefor will be 
implementation dependent. So, trying to get away from such behavior is your 
best choice, and I can't comment on that since I don't know the details. If 
that is not an option, you should choose a strategy that you think is closest 
to a possible future spec in this area. Perhaps bring the topic to 
[EMAIL PROTECTED] mailing list for feedback.


As Alin just said, some more details would be good.


Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to