You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Scott Lewis <sl...@composent.com> on 2014/03/06 19:21:05 UTC

httpservice questions

Hi,

I'm working on a Remote Service provider based upon websockets [0] for 
ECF [1][2].   ECF implements the Remote Services/RSA specifications and 
runs on Felix, Equinox, and other OSGi frameworks.

We use HttpService to implement some of our providers, and I'm 
interested in getting more technical details about the Felix HttpService 
implementation to see how we could best use it going forward.

I've looked at [3], but have some questions:

1) What version of Jetty does the HttpService impl use/will use?
2) For support of rfc-189 (httpservice updates), what version will 
support this rfc?  (i.e. it's 2.2.2 now...is there a schedule for the 
release of impl that supports rfc-189)?   More generally...what 
release(s) of Felix will be supportive of the R6 specs?   Will all the 
sub-projects also support their respective R6 specs, or will they be 
released with separate schedules?
3) How does HttpService 2.2.2 depend upon Jetty?   (e.g. Import-Package 
from external bundle...internal to HttpService bundles?).  Is this going 
to stay the same moving forward?   What I'm getting at here is will 
there be a way for us to use the Jetty 9 websockets implementation via 
the R6 HttpService (since Jetty 9 implements the websockets specification)?

Thanks for pointers and other info,

Scott

[0] https://www.jcp.org/en/jsr/detail?id=356
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=426186
[2] http://wiki.eclipse.org/ECF
[2] 
https://felix.apache.org/documentation/subprojects/apache-felix-http-service.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: httpservice questions

Posted by David Bosschaert <da...@gmail.com>.
On 7 March 2014 09:18, Carsten Ziegeler <cz...@apache.org> wrote:
> I think we should cut a release soon to get some fixes out and can then
> start working on implementing the RFC.

I just ran into an issue with the current trunk wrt
org.apache.felix.http.bundle module. I've filed
https://issues.apache.org/jira/browse/FELIX-4452 with a suggested fix.

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: httpservice questions

Posted by Jan Willem Janssen <ja...@luminis.eu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/03/14 10:18, Carsten Ziegeler wrote:
> We're planning to provide the reference implementation for RFC 189
> with Apache Felix. So we can team up on this one.
> 
> I think we should cut a release soon to get some fixes out and can
> then start working on implementing the RFC.

Sounds like a plan! I think we need to do some thorough testing (as
David already found one bug) on the latest trunk to verify it is
working as it should...

- -- 
Met vriendelijke groeten | Kind regards

Jan Willem Janssen | Software Architect
+31 631 765 814

/My world is revolving around PulseOn and Amdatu/

Luminis Technologies B.V.
J.C. Wilslaan 29
7313 HK   Apeldoorn
+31 88 586 46 30

http://www.luminis-technologies.com
http://www.luminis.eu

KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTHbpTAAoJEKF/mP2eHDc4fPMQAN8VKhJMdY5JVge6LD6+yZPd
Z4NYgjobo8vVbbLkAjncWRj0rpGupA+fyc8qyQEZ13Ko2yztITGbm0wgso5aGazN
B0Qa0/zgI+hnaj4Lxalza2No42UpUsGCqJko6Yl72/a/R4bGgaiyPW1NE67YXOKa
Fnx9DpO0V4Dg8KkK9jwTsPxr4wmJ1gOADIA4csC9rZSaRfNTtVbK+yS+rG/G0NMV
ByAve8JGgneAHqoYTmc0C3uO9+TYWXxeyw+9ZoGg0WB+bEk5p6e38EA7bySIigi+
DsExipHf6lFawfhBMzwHNCHfjGUj07xb4hg6c0yLa0eVfWFkb7dukUVTbOMDUNIn
5ZZXaOYKsFL49tbMmYb3Cj+94XrLdl1ofs5OzEk7iwxvuoS0eqNATbUrNou6flGu
wiw9RhrsHzt0em+bYZdzpC3hiPFO7SKfZFlxTNimMj3togIijLHGwJWPPaZsQ7ps
SO8MF3wBmO7CJJ/kcLkEi07VPwnDCMteRZ23peibomMCaKeKsPcWXZE443d9mme3
xThAqhVSZ2MD9PWb+ajpw2jaANuTswunwOt56sF125zqeBIYEsWNBnyqCHMe7bJH
kV1OOtGu2p5KPLlGn8v5PVMsMuNy1RyKKi0+vMLoUyaQ5j7470EDuSiJVBom/vue
oU9DZ/HxTELc5P/Da4Rn
=Ae5D
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: httpservice questions

Posted by Carsten Ziegeler <cz...@apache.org>.
2014-03-07 9:44 GMT+01:00 Jan Willem Janssen <ja...@luminis.eu>:

> > 2) For support of rfc-189 (httpservice updates), what version will
> >  support this rfc?  (i.e. it's 2.2.2 now...is there a schedule for
> > the release of impl that supports rfc-189)?   More generally...what
> >  release(s) of Felix will be supportive of the R6 specs?   Will all
> > the sub-projects also support their respective R6 specs, or will
> > they be released with separate schedules?
>
> Some of the functionality in Felix HTTP is already based on RFC 189,
> like the 'osgi.http.service.endpoints' property, but it still needs
> some serious work to get all proposed functionality of RFC 189
> implemented. That said, I've strong interest to keep working on
> improving the current implementation towards RFC 189.
>
> We're planning to provide the reference implementation for RFC 189 with
Apache Felix. So we can team up on this one.

I think we should cut a release soon to get some fixes out and can then
start working on implementing the RFC.

WDYT?

Carsten

Re: httpservice questions

Posted by Scott Lewis <sl...@composent.com>.
Hi Jan, Carsten, and others,

First, thanks for the info.

On 3/7/2014 12:44 AM, Jan Willem Janssen wrote:
> <question deleted>
> The latest released version uses Jetty 7.6.13.v20130916, and the trunk
> version uses Jetty 8.1.14.v20131031 (latest version that is compatible
> with JDK6). It is my intention to make a release of Felix HTTP based
> on Jetty 8 soon, after which I'd like to migrate to Jetty 9 for all
> kinds of reasons.
>
>> <question deleted>
> Some of the functionality in Felix HTTP is already based on RFC 189,
> like the 'osgi.http.service.endpoints' property, but it still needs
> some serious work to get all proposed functionality of RFC 189
> implemented. That said, I've strong interest to keep working on
> improving the current implementation towards RFC 189.
>
>> <question deleted>
> In the current trunk version, the Jetty API is now exposed from the
> felix.http.jetty bundle, to allow all kinds of extensions to be
> written on top of the Jetty version used in Felix HTTP. This would
> enable the use of websockets functionality from Jetty 9.
> Note that currently there is a form of websocket-like functionality
> provided by the cometd bundle. I haven't looked at it in a while, but
> I believe the latest versions of cometd also work with websockets
> directly...
>
> Does this answer all of your questions?

Mostly, yes.   But the one remaining:  what is the 
plan/schedule/timing...for the work you identify above? (moving to Jetty 
9, finishing rfc-189 support, exposing Jetty-based websockets impl)?

In his response to Jan's note, Carsten Ziegler said:

>We're planning to provide the reference implementation for RFC 189 with

>Apache Felix. So we can team up on this one.

Teaming up seems great to me...because then it doesn't put the impl 
burden all on one party...making it more likely (IMHO) that impls will 
be available sooner.

Given the following

1) I would guess that there are many others that are or will be 
interested in the development of HttpService.  These would include 
either direct clients of HttpService...and/or other OSGi Service 
implementers that wish to depend upon new HttpService+websockets for 
functionality...like us.
2) The entire Eclipse Foundation community (projects and consumers of 
those projects) is in a similar situation (e.g. see thread at 
[1])...i.e. in need of an open implementation of more recent HttpService 
+ other things (e.g. websockets).
3) Jetty is currently a project maintained/released under EF org umbrella

I would suggest that it makes sense to coordinate across 
organizations...i.e. OSGi, EF, Apache...and across projects/corps...i.e. 
Karaf, Equinox, Jetty, Adobe, Luminis, IBM... to make this happen for 
the OSGi-adopting community.    Is such coordination possible?  If so, 
how would/could that happen?

Thanks,

Scott

[1] https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg07733.html




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: httpservice questions

Posted by Jan Willem Janssen <ja...@luminis.eu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/03/14 19:21, Scott Lewis wrote:
> I'm working on a Remote Service provider based upon websockets [0]
> for ECF [1][2].   ECF implements the Remote Services/RSA
> specifications and runs on Felix, Equinox, and other OSGi
> frameworks.
> 
> We use HttpService to implement some of our providers, and I'm 
> interested in getting more technical details about the Felix
> HttpService implementation to see how we could best use it going
> forward.
> 
> I've looked at [3], but have some questions:
> 
> 1) What version of Jetty does the HttpService impl use/will use?

The latest released version uses Jetty 7.6.13.v20130916, and the trunk
version uses Jetty 8.1.14.v20131031 (latest version that is compatible
with JDK6). It is my intention to make a release of Felix HTTP based
on Jetty 8 soon, after which I'd like to migrate to Jetty 9 for all
kinds of reasons.

> 2) For support of rfc-189 (httpservice updates), what version will
>  support this rfc?  (i.e. it's 2.2.2 now...is there a schedule for
> the release of impl that supports rfc-189)?   More generally...what
>  release(s) of Felix will be supportive of the R6 specs?   Will all
> the sub-projects also support their respective R6 specs, or will
> they be released with separate schedules?

Some of the functionality in Felix HTTP is already based on RFC 189,
like the 'osgi.http.service.endpoints' property, but it still needs
some serious work to get all proposed functionality of RFC 189
implemented. That said, I've strong interest to keep working on
improving the current implementation towards RFC 189.

> 3) How does HttpService 2.2.2 depend upon Jetty?   (e.g.
> Import-Package from external bundle...internal to HttpService
> bundles?).  Is this going to stay the same moving forward?   What
> I'm getting at here is will there be a way for us to use the Jetty
> 9 websockets implementation via the R6 HttpService (since Jetty 9
> implements the websockets specification)?

In the current trunk version, the Jetty API is now exposed from the
felix.http.jetty bundle, to allow all kinds of extensions to be
written on top of the Jetty version used in Felix HTTP. This would
enable the use of websockets functionality from Jetty 9.
Note that currently there is a form of websocket-like functionality
provided by the cometd bundle. I haven't looked at it in a while, but
I believe the latest versions of cometd also work with websockets
directly...

Does this answer all of your questions?

- -- 
Met vriendelijke groeten | Kind regards

Jan Willem Janssen | Software Architect
+31 631 765 814

/My world is revolving around PulseOn and Amdatu/

Luminis Technologies B.V.
J.C. Wilslaan 29
7313 HK   Apeldoorn
+31 88 586 46 30

http://www.luminis-technologies.com
http://www.luminis.eu

KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTGYbfAAoJEKF/mP2eHDc4UKgP/0NG4AqhHaKrLczoWlF6qpcM
KvEpRkrUfCdCjc/snKq/cll96iYXEZbKbc1YOSHKeD2fsYlTwdYuGlHChLn0pkYT
dnYcd+c6Y9xoWztJYcr0HvJIiZVZcQYwawiFXfJG5cDz9PLaGB1OI4m5NcOn0erK
cXI9r50TdZA3z6UAmXrbhATxLd5SfPdQ10JKDyXbfSBf8SHAed0wvrTyH6+Yj0cm
TF7ZltW5toS6Z/1miy/HhepW2JbmsbgvuVHvYadFxyW9FfbBCT0/1vCGhCcATiUU
EV3V/AQIcOUAvSD92lpUZjXIZvChd4cPXTCf6ri0sDvDNEmGFRpsfFXh8rGzCn9i
UxRYL3CGce3eCCswAZ18UHK+6EfPJvt6GV5+R8BWD6lTOSLlIACLOdGfRtXC87aH
IN9ymparv/xCELCN+wtOUXl/DsUeOPhZfPlfW0uj7cErWJFNBX1dTf1DlX6fcPnW
xMlS6/12wXOz20D6fv4pAyhifqvO54QwpgHwnyVUUGt8hKaTOWNdaO6IhrYz/awJ
vSf45Q3FggQNJfcseqhYZZ9t4wXkbofHZWyO851b+EzGPgY+E3qKLCpyJvNO8X63
OszLjsGH89SONr9Kh9yBoC3Ps1gUTZ10ef04z29+fG1kOx5UW2T6EmQx0zlPjbXI
/tl/+SCCAlZyUTlKYi3g
=POnx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org