Re: Using WebSocket - Glassfish 3.0 or 3.1
Hi Ido,
> I am currently referencing both grizzly-websocket.jar and grizzly-
> util.jar in order to have access to com.sun.grizzly.websockets.* and
> com.sun.grizzly.tcp.*
>
> Is that going to change?
No, it won't be changed.
WBR,
Alexey.
>
> Thank you,
> Ido
>
> On Wed, Jun 9, 2010 at 8:50 PM, Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
> > wrote:
> Hi Ido,
>
> AFAIK websockets module is part of the GFv3.1, so theoretically you
> don't need anything additional for NB project. But if NB doesn't see
> the WebSockets classes - then you should probably need to add
> websocket.jar explicitly to your project's classpath.
>
> WBR,
> Alexey.
>
> On Jun 8, 2010, at 20:48 , Ido Ran wrote:
>
>> Hi,
>> Thank you for the links.
>> I've successfully setup Glassfish V3.1 and I am able to work with
>> it in NetBeans.
>>
>> Can you please explain to me now how can I add the WebSocket to my
>> project (should I add the jar file grizzly-websocket.jar to my
>> project in NetBeans?)
>> Currently I have no mention of grizzly inside my application code,
>> only glassfish work with it.
>>
>> Thank you,
>> Ido
>>
>> On Tue, Jun 8, 2010 at 11:33 AM, Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
>> > wrote:
>> Hi Ido,
>>
>> here is a great blog from Justin [1] on websocket support in GF.
>> You need to use latest GFv3.1 binaries, which you can download from
>> here [2].
>>
>> WBR,
>> Alexey.
>>
>> [1] http://www.antwerkz.com/glassfish-web-sockets-sample/
>> [2] http://dlc.sun.com.edgesuite.net/glassfish/v3.1/nightly/
>>
>>
>> On Jun 5, 2010, at 14:36 , Ido Ran wrote:
>>
>> Hi,
>> I would like to use the new implementation of WebSocket of grizzly
>> with Glassfish.
>> My current application is developed and deployed with Glassfish 3.0.
>>
>> Is it possible to use WebSocket with Glassfish 3.0 or do I have to
>> use 3.1 (although it is not ready yet)?
>>
>> Which ever answer, how do I do that?
>> What should I download and hot to assemble everything so that my
>> current J2EE application will be able to use WebSocket?
>>
>> Thank you,
>> Ido
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>
>