[jira] [Commented] (HTTPCLIENT-973) Websocket support

2016-12-13 Thread Oleg Kalnichevski (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746064#comment-15746064
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-973:
--

As of today HttpCore 5.0 should have all the necessary low level machinery to 
switch / upgrade protocol (see HTTPCORE-158), which should make it possible to 
plug in WebSocket support if anyone still cares.

Oleg

> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient (classic)
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] Commented: (HTTPCLIENT-973) Websocket support

2010-11-16 Thread Florian Moga (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932677#action_12932677
 ] 

Florian Moga commented on HTTPCLIENT-973:
-

Hi John,

The idea of the Monsoon project started from this same jira on HC :) I started 
to follow the discussions that are taking place on the IETF HyBi working group 
and to search for tools/frameworks that might come in handy. I recently started 
Monsoon as an Apache Lab in order to experiment what a websocket implementation 
implies. 

At the moment, the project is in a phase where I created an initial design and 
I'm implementing a Java client. The primary goals of the project would be to 
support the various versions of IETF drafts (both client and server) as they 
evolve and offer feedback to the IETF working group. If things go well, having 
multiple language support and support for various protocols over websockets 
would be the long term goals.

Regarding the graduation from the Labs area, both the Incubator and HC 
subproject look like good options. I strongly believe that the HC community 
would have a great impact on Monsoon as they have valuable experience with this 
type of project. 

Being in the labs area, Monsoon doesn't have a dedicated mailing list so I will 
share my contact information in case anyone else bumps into this jira as well 
(fmoga at apache dot org). I'm also planning to be available on a dedicated 
freenode channel as much as possible (#monsoon).

It's great seeing your interest and your help would be very much welcome given 
your experience on this topic.

Thanks,

Florian

> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] Commented: (HTTPCLIENT-973) Websocket support

2010-11-16 Thread Oleg Kalnichevski (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932523#action_12932523
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-973:
--

> I would need some assistance regarding the design of how it would integrate 
> with the rest of HttpClient.

Hi John

I am far from being a fan of (mis)using of NIO just for the heck of it, but in 
case of the WebSocket protocol I think that a non-blocking I/O model would make 
good sense. So, you should start off by taking a look at HttpCore NIO to get a 
feel for developing asynchronous services based on HttpCore [1]. There is also 
an asynchronous version of HttpClient at a very early (pre-alpha) stage of 
development that you might find useful, as it has an implementation of a 
pooling connection manager for non-blocking HTTP connections [2]

Cheers

Oleg

[1] http://hc.apache.org/httpcomponents-core-ga/tutorial/html/nio.html
[2] http://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk/

> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] Commented: (HTTPCLIENT-973) Websocket support

2010-11-16 Thread John A. Tamplin (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932522#action_12932522
 ] 

John A. Tamplin commented on HTTPCLIENT-973:


Can you email contact information?

So this would normally be developed as a separate project and then later merged 
into HttpComponents?

> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] Commented: (HTTPCLIENT-973) Websocket support

2010-11-16 Thread ant elder (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932509#action_12932509
 ] 

ant elder commented on HTTPCLIENT-973:
--

Note that there also has been an Apache Lab, Monsoon, recently started to do 
this, see  http://labs.apache.org/labs.html. I know Florian and he's chatted to 
me about Monsoon and the possibilities of it ending up as an HttpComponents sub 
project. Sounds like the two of you should get together.

> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] Commented: (HTTPCLIENT-973) Websocket support

2010-11-16 Thread John A. Tamplin (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932494#action_12932494
 ] 

John A. Tamplin commented on HTTPCLIENT-973:


I would be interested in working on it.  I have been implementing various 
drafts of the spec at http://code.google.com/p/websocket-draft-eval/ and I 
would be interested in turning that into a real implementation and finding a 
home for it where it could be shared.

If that would be of interest to you, I would need some assistance regarding the 
design of how it would integrate with the rest of HttpClient.


> Websocket support
> -
>
> Key: HTTPCLIENT-973
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-973
> Project: HttpComponents HttpClient
>  Issue Type: New Feature
>  Components: HttpClient
>Reporter: Erik Martino Hansen
> Fix For: Future
>
>
> Websocket are designed for browser use but I see useful use cases in a java 
> client as well:
> - java clients for existing websites where changes are pushed to clients 
> using websockets
> - use of websockets to tunnel through firewalls
> - put all communication behind single port on servlet engine.
> A good example on emerging use is websocket+stomp 
> (http://jmesnil.net/stomp-websocket/doc/, 
> http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html)
> so I believe hc should support websocket clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]