Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] can someone please share jsr 356 example with javascript

Jetty 9.1.4 has JSR-356 support.

$ ls -la jetty-distribution-9.1.4.v20140401/lib/websocket/
total 540
drwxrwxr-x.  2 joakim joakim   4096 Apr  7 09:51 .
drwxrwxr-x. 12 joakim joakim   4096 Apr  7 09:51 ..
-rw-rw-r--.  1 joakim joakim  36611 Apr  2 10:14 javax.websocket-api-1.0.jar   <!-- the official JSR-356 API Jar -->
-rw-rw-r--.  1 joakim joakim 156243 Apr  2 10:14 javax-websocket-client-impl-9.1.4.v20140401.jar   <!-- the javax.websocket implementation by jetty -->
-rw-rw-r--.  1 joakim joakim  36802 Apr  2 10:14 javax-websocket-server-impl-9.1.4.v20140401.jar   <!-- the javax.websocket.server implementation by jetty -->
-rw-rw-r--.  1 joakim joakim  43680 Apr  2 10:14 websocket-api-9.1.4.v20140401.jar
-rw-rw-r--.  1 joakim joakim  35188 Apr  2 10:14 websocket-client-9.1.4.v20140401.jar
-rw-rw-r--.  1 joakim joakim 170297 Apr  2 10:14 websocket-common-9.1.4.v20140401.jar
-rw-rw-r--.  1 joakim joakim  35774 Apr  2 10:14 websocket-server-9.1.4.v20140401.jar
-rw-rw-r--.  1 joakim joakim  17923 Apr  2 10:14 websocket-servlet-9.1.4.v20140401.jar

If it isn't working for you, can you give some details on your attempts?
Things like: 
 * your ${jetty.base} configurations (if using the distribution)
 * your webapp context deployable xml (if you are using xml based deploys)
 * your server.dump() output (if using embedded mode)
 * your code on attempting to access JSR-356 (in your webapp)

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


On Tue, Jul 29, 2014 at 6:23 AM, Padki, Anuradha <anuradha.padki@xxxxxxxx> wrote:

Thanks for the response Joakim

I am sorry I did not phrase it right: I got websocket  working on 8 (not jsr 356) and I am trying to get jsr 356 working on 9.1.4, so it will work only on 9.2 , is that correct?

Then

 

From: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 29, 2014 9:21 AM
To: JETTY user mailing list
Subject: Re: [jetty-users] can someone please share jsr 356 example with _javascript_

 

JSR356 is available on Jetty 9.2 and newer.

It is not available on Jetty 8.


--

Joakim Erdfelt <joakim@xxxxxxxxxxx>

Expert advice, services and support from from the Jetty & CometD experts

 

On Tue, Jul 29, 2014 at 5:47 AM, Padki, Anuradha <anuradha.padki@xxxxxxxx> wrote:

I am new to Jetty, I could get jetty 8 websocket working, but am struggling with getting jsr 356 working.

I tried many example codes but no luck, can somebody please share a simple sample of code with jsr356 with _javascript_?

Any help is greatly appreciated.

-          Anu


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

 


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


Back to the top