Hi Dilini,

Netty also provides an API to write WebSocket clients. You can find an
example here [1]. Netty is already available as a OSGI bundle
(netty-all_4.0.8.wso2v1). Therefore you can use it if you write your client
using Netty.

[1]
https://github.com/netty/netty/tree/master/example/src/main/java/io/netty/example/http/websocketx/client


On Thu, Jul 10, 2014 at 5:38 PM, Dilini Muthumala <[email protected]> wrote:

> Thank you Lasantha, for bringing this up; and Sagara, for clarifying.
>
>
> On Thu, Jul 10, 2014 at 5:27 PM, Lasantha Fernando <[email protected]>
> wrote:
>
>> Thanks Sagara for the clarification!
>>
>>
>> On 10 July 2014 17:26, Sagara Gunathunga <[email protected]> wrote:
>>
>>>
>>>
>>>
>>> On Thu, Jul 10, 2014 at 5:12 PM, Mohanadarshan Vivekanandalingam <
>>> [email protected]> wrote:
>>>
>>>> [Adding Sagara]
>>>>
>>>> Hi Sagara,
>>>>
>>>> Can you please comment on Lasantha's Concern. Do we have any issues in
>>>> using tyrus client because of this license ?
>>>>
>>>
>>> This is not an issue historically Sun/Oracle release all their java
>>> frameworks under CDDL 1.1/GPL dual licences so that users can pick one of
>>> the licence. Large numbers of CDDL licensed Sun/Oracle frameworks such as
>>> JAXB, JAX-RS, JAX-WS, JavaMail  are being used by Apache projects ( in WSO2
>>> code base as well), as an example Apache Axis2 use and redistribute
>>> following set of CDDL  licensed frameworks.
>>>
>>> activation
>>> jaxb-api
>>> jaxb-impl
>>> jaxb-xjc
>>> jaxb-tools
>>> jaxrs-api
>>> java Mail
>>>
>>> Thanks !
>>>
>>>>
>>>> Thanks,
>>>> Mohan
>>>>
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 5:03 PM, Lasantha Fernando <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Dilini,
>>>>>
>>>>> It seems tyrus is licensed under CDDL 1.1 and GPL v2 with classpath
>>>>> exception.
>>>>>
>>>>> Are these licenses compatible with Apache License v2?
>>>>>
>>>>> According to [1], CDDL 1.0 falls under reciprocal licenses and GPL v2
>>>>> with Classpath Exception is not compatible. Not sure about CDDL 1.1 
>>>>> though.
>>>>>
>>>>> [1] http://www.apache.org/legal/3party.html
>>>>>
>>>>> Thanks,
>>>>> Lasantha
>>>>>
>>>>>
>>>>> On 10 July 2014 00:42, Dilini Muthumala <[email protected]> wrote:
>>>>>
>>>>>> Hi Sagara,
>>>>>>
>>>>>> Thanks for your helpful comments.
>>>>>>
>>>>>> On Wed, Jul 9, 2014 at 9:21 PM, Sagara Gunathunga <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> 1.) Please make sure to bring only Tyrus-client and it's
>>>>>>> dependencies, we don't need server side stuff.
>>>>>>>
>>>>>> Sure. We'll only bring tyrus-client and its dependencies. In case we
>>>>>> need a web socket server, we'll be using the tomcat
>>>>>> websocket-implementation (as we've previously discussed).
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>  2.) Tyrus artifacts are available as OSGi bundles[1] if possible
>>>>>>> try to use them directly.
>>>>>>> [1] - http://mvnrepository.com/artifact/org.glassfish.tyrus
>>>>>>>
>>>>>> Thanks again, for the info. Will try to use them.
>>>>>>
>>>>>> Regards,
>>>>>> Dilini
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thanks !
>>>>>>>
>>>>>>>>
>>>>>>>> [2] https://tyrus.java.net/
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Dilini
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jul 9, 2014 at 7:22 PM, Dilini Muthumala <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> We have a carbon component**, which needs to connect to a web
>>>>>>>>> socket server. What would be the suitable web socket client library 
>>>>>>>>> (java),
>>>>>>>>> for this purpose?
>>>>>>>>>
>>>>>>>>> As we have discussed and agreed in a recent mail thread [1], it's
>>>>>>>>> not suitable to use jetty libraries.
>>>>>>>>>
>>>>>>>>> **To elaborate more, this carbon component is a part of a *web
>>>>>>>>> socket output adaptor*, we are developing for CEP.
>>>>>>>>>
>>>>>>>>> [1] http://www.mail-archive.com/[email protected]/msg29472.html
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Dilini
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Dilini Muthumala*
>>>>>>>>> Software Engineer,
>>>>>>>>> WSO2 Inc.
>>>>>>>>>
>>>>>>>>> *E-mail :* [email protected]
>>>>>>>>> *Mobile: *+94713 400 029
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Dilini Muthumala*
>>>>>>>> Software Engineer,
>>>>>>>> WSO2 Inc.
>>>>>>>>
>>>>>>>> *E-mail :* [email protected]
>>>>>>>> *Mobile: *+94713 400 029
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sagara Gunathunga
>>>>>>>
>>>>>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>>>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Dilini Muthumala*
>>>>>> Software Engineer,
>>>>>> WSO2 Inc.
>>>>>>
>>>>>> *E-mail :* [email protected]
>>>>>> *Mobile: *+94713 400 029
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Lasantha Fernando*
>>>>> Software Engineer - Data Technologies Team
>>>>> WSO2 Inc. http://wso2.com
>>>>>
>>>>> email: [email protected]
>>>>> mobile: (+94) 71 5247551
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *V. Mohanadarshan*
>>>> *Software Engineer,*
>>>> *Data Technologies Team,*
>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>> *lean.enterprise.middleware.*
>>>>
>>>> email: [email protected]
>>>> phone:(+94) 771117673
>>>>
>>>
>>>
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>> V.P Apache Web Services;    http://ws.apache.org/
>>> Linkedin; http://www.linkedin.com/in/ssagara
>>> Blog ;  http://ssagara.blogspot.com
>>>
>>>
>>
>>
>> --
>> *Lasantha Fernando*
>> Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> mobile: (+94) 71 5247551
>>
>
>
>
> --
> *Dilini Muthumala*
> Software Engineer,
> WSO2 Inc.
>
> *E-mail :* [email protected]
> *Mobile: *+94713 400 029
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Asanka Abeyweera
Software Engineer
WSO2 Inc.

Phone: +94 712228648
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to