useing grizzly for messaging beetween server and client

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

useing grizzly for messaging beetween server and client

Ahmet Sevdin
Hi everbody,

I am developing a client server system over internet. I need both request/response and publish/subscribe (or server push) messaging models.There will be both sync and async request processing. I tried the chat example I found on blogs and as I understand I can use grizzly as a internet communication engine or develop something like that to put between my server and clients. Is it possible?

If it is possible, I need to develop a simple application too see and test but I am new to java and many things confuses me. I searched for a tutorial which explains setting a development environment and trying samples on it, but I couldn't find. I found blogs but I can't follow them because I am a beginner. Any link or tutorial will be very usefull. Otherwise I can follow your advice to setup ideal development environment and make a few samples working on it. That also generates a tutorial for beginners like me. ( I can write it and post here for general use).

After that I also need your advices for the comminication engine I am talking about.

Thanks


Reply | Threaded
Open this post in threaded view
|

Re: useing grizzly for messaging beetween server and client

Jeanfrancois Arcand-2
Hi Ahmet,

sorry for the delay.

Ahmet Sevdin wrote:
> Hi everbody,
>
> I am developing a client server system over internet. I need both
> request/response and publish/subscribe (or server push) messaging
> models.There will be both sync and async request processing. I tried the
> chat example I found on blogs and as I understand I can use grizzly as a
> internet communication engine or develop something like that to put
> between my server and clients. Is it possible?

Yes it is. The Grizzly Comet engine allow your application to either
implement your own protocol or use the Bayeux protocol [1]. Right now I
need to update the Bayeux protocol support as the spec evolved faster
that the Grizzly implementation (called gCometd). What kind of protocol
are you interested to implement? Do you want to use a Servlet based
application (jsp, jsf etc.)?


>
> If it is possible, I need to develop a simple application too see and
> test but I am new to java and many things confuses me. I searched for a
> tutorial which explains setting a development environment and trying
> samples on it, but I couldn't find. I found blogs but I can't follow
> them because I am a beginner. Any link or tutorial will be very usefull.
> Otherwise I can follow your advice to setup ideal development
> environment and make a few samples working on it. That also generates a
> tutorial for beginners like me. ( I can write it and post here for
> general use).

What kind of application do you have in mind?


>
> After that I also need your advices for the comminication engine I am
> talking about.
>
> Thanks


Thanks

-- Jeanfrancois

[1] http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html

>
>

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

Reply | Threaded
Open this post in threaded view
|

Re: useing grizzly for messaging beetween server and client

Ahmet Sevdin
Hi Jean,

We are developing an auction system. We plan to develop an application
server and different type of clients (Desktop App, Applet, Flash, Ajax).
First users will register for products and they will receive the price
changes via their gui (pub/sub). Then they will bid for products
(req/res). I am looking for a framework to develop something (a
communication engine) I can put between the server and clients. Protocol
between the serverside and client may be change according the framework
we will use as we will plan this communication engine as a box. I can
use Bayeux or some other protocol.
As I stated before, I am new to java. Before digging into details of the
appliction I need to have a simple working client server example. I
searched for documents and everything I found is generally high level
(at least for me). I think there is no document explaning preparing a
development environment and developing a few sample applications. First
I need your help for something like that, then I will be asking more
specific questions.
I am waiting directions, links, comments and etc from you.

Thanks

Jeanfrancois Arcand yazmış:

> Hi Ahmet,
>
> sorry for the delay.
>
> Ahmet Sevdin wrote:
>> Hi everbody,
>>
>> I am developing a client server system over internet. I need both
>> request/response and publish/subscribe (or server push) messaging
>> models.There will be both sync and async request processing. I tried
>> the chat example I found on blogs and as I understand I can use
>> grizzly as a internet communication engine or develop something like
>> that to put between my server and clients. Is it possible?
>
> Yes it is. The Grizzly Comet engine allow your application to either
> implement your own protocol or use the Bayeux protocol [1]. Right now
> I need to update the Bayeux protocol support as the spec evolved
> faster that the Grizzly implementation (called gCometd). What kind of
> protocol are you interested to implement? Do you want to use a Servlet
> based application (jsp, jsf etc.)?
>
>
>>
>> If it is possible, I need to develop a simple application too see and
>> test but I am new to java and many things confuses me. I searched for
>> a tutorial which explains setting a development environment and
>> trying samples on it, but I couldn't find. I found blogs but I can't
>> follow them because I am a beginner. Any link or tutorial will be
>> very usefull. Otherwise I can follow your advice to setup ideal
>> development environment and make a few samples working on it. That
>> also generates a tutorial for beginners like me. ( I can write it and
>> post here for general use).
>
> What kind of application do you have in mind?
>
>
>>
>> After that I also need your advices for the comminication engine I am
>> talking about.
>>
>> Thanks
>
>
> Thanks
>
> -- Jeanfrancois
>
> [1] http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html
>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

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