Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] websocket examples as bundles?

JSR-356 is the Java Specification Request for javax.websocket.* APIs
https://jcp.org/en/jsr/detail?id=356

Jetty 9.2.x provides the following websocket bits.
  • Jetty Native WebSocket API - (org.eclipse.jetty.websocket.api)
  • Jetty Native WebSocket Server API + Implementation - (org.eclipse.jetty.websocket.server and org.eclipse.jetty.websocket.servlet)
  • Jetty Native WebSocket Client API + Implementation - (org.eclipse.jetty.websocket.client)
  • javax.websocket - Client Implementation - (org.eclipse.jetty.websocket.jsr356)
  • javax.websocket.server - Server Implementation - (org.eclipse.jetty.websocket.jsr356.server)
Those are package namespaces (don't read into those names as possible osgi references)

So we have server & client implementations for our own API and also the new JEE standard API.



--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Thu, Jan 22, 2015 at 4:50 PM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
Thanks.

On 1/22/2015 9:22 AM, Joakim Erdfelt wrote:
No examples for OSGi, sorry.

If anyone has attempted it, they haven't let us know, so we know really nothing about success / failure / gotchas.
There's alot of reflection and a number of places of ServiceLoader use.
And if you use JSR-356 then there's extra classloader requirements.


What's JSR-356?

Thanks,

Scott



You would be on the bleeding edge in this regard.
Let us know how it works out for you.


--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Thu, Jan 22, 2015 at 9:35 AM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
Hi Jettiers,

ECF is contemplating using jetty 9's websocket impl for enhancement [1] and would like to ask:  are there any jetty websocket examples (server and client) that are intended to run on OSGi frameworks (i.e. deployable as bundles, using HttpService on server-side, etc)?

Thanksinadvance,

Scott

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=426186
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top