users@grizzly.java.net

Re: bear 2.0

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 29 Oct 2008 17:58:28 +0100

Hello Ken,

>
> Thanks to your quick response.
>
> I have a new client server project and I really want to use Grizzly
> 2.0..
> but Grizzly 2.0 is not ready yet...
You're right, there is nothing similar to ProtocolParser API yet :(
But nearest time we expect to have it implemented.

Please stay tuned, we will let community know, once it will be ready.

Thanks.

WBR,
Alexey.

>
>
> Regards,
> Ken
>
>
>
> John ROM wrote:
>>
>> Hi Ken,
>> I think the ProtocolParser API might be simplified in 2.0.
>> There has been a ByteBuffer Streams contribution and this might
>> lead to a
>> new API.
>>
>> In 2.0 the parser might just look at the bytes to find the message
>> boudaries and
>> hand the upper Application Layers a Reader which dynamicly gets
>> filled
>> with bytes.
>> The Reader will have methods for checking readyness and for
>> retrieving
>> basic java types
>> (int,Long,etc,byte[]). All ByteBuffer management (buffer growing)
>> will be
>> handled by Grizzly.
>> So there would be no more need for hasMoreBytes, isExpecting,etc...
>>
>> I'll be experimenting this weekend (-:
>>
>> Many Greetings
>> John
>>
>> -------- Original-Nachricht --------
>>> Datum: Wed, 29 Oct 2008 03:40:22 -0700 (PDT)
>>> Von: "Ken--_at_newsgroupstats.hk" <dragonken_at_gmail.com>
>>> An: users_at_grizzly.dev.java.net
>>> Betreff: Re: bear 2.0
>>
>>>
>>> Hi Alexey,
>>>
>>> Have you any example of ProtocolParser in Grizzly 2.0?
>>>
>>> public class CustomProtocolParser extends FilterAdapter {
>>> }
>>>
>>> What's the different between of this compare to Grizzly 1.x's
>>> ProtocolParser?
>>>
>>> Regards,
>>> Ken
>>>
>>>
>>>
>>> Oleksiy Stashok wrote:
>>>>
>>>> Hi Ken,
>>>>
>>>> actually Jeanfrancois answered to you.
>>>> I will just add, that things, you're doing right now with
>>>> "broadcasting" could be implemented easier and on higher level (no
>>>> need to deal with channels, keys) with Grizzly 2.0
>>>>
>>>> Thanks.
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>> On Oct 21, 2008, at 20:43 , Ken--_at_newsgroupstats.hk wrote:
>>>>
>>>>>
>>>>> Just aware that Grizzly 2.0 is built from the ground and will
>>>>> have a
>>>>> more
>>>>> user friendly api. Any pro and con for building my new application
>>>>> with
>>>>> Grizzly 2.0 compare to 1.x?
>>>>>
>>>>> my plan:
>>>>>
>>>>> 1. server application with ssl socket
>>>>> 2. http engine (with jsp and servlet support) embedded. Glassfish
>>>>> embedded?
>>>>> 3. applet or ajax rich client
>>>>> 4. integration with terracotta (jvm clustering)
>>>>>
>>>>> Ken
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/bear-2.0-tp20096830p20096830.html
>>>>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/bear-2.0-tp20096830p20224439.html
>>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>> --
>> GMX Download-Spiele: Preizsturz! Alle Puzzle-Spiele Deluxe über 60%
>> billiger.
>> http://games.entertainment.gmx.net/de/entertainment/games/download/puzzle/index.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/bear-2.0-tp20096830p20229356.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>