users@grizzly.java.net

Re: newbie question

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 22 Feb 2008 09:17:04 -0500

Hi,

Patrick Julien wrote:
> I too am somewhat new to Grizzly having used it for some time under the
> covers in Glassfish. I also think the current structure is very
> difficult to get into.

Agree.

>
> Comparing this to Apache Mina, you get one download, and it has
> everything. With the version 2 milestone, it's even easier, just one
> main jar file to include and you're done.

Agree it is easier, but when you embed Grizzly inside you application,
you want to have the minimal set of classes. This is why Grizzly has
several packages. Now I fully agree we need to better document which jar
is for what. Can you file an issue here so we track the problem:

https://grizzly.dev.java.net/issues/

The minimum we can do is to document it properly on the front page,
explaining which jars you need.

If you want a mina like jar, the grizzly-framework-1.7.2.jar [1] is the
one you are looking at. It doesn't have any http/comet/jruby/http-utils
extra code in it. If you need http support, you can either download a
single jar [2] or several [3]

>
> Looking at all these directories under the download structure, I don't
> even know what I should be downloading. Don't get me wrong, I've read
> the examples and I'm excited by what I saw. I've even read Jeanfrancois
> Arcand's blog from bottom to top.
>
> At this point, I understand the core classes, but I don't even know
> where they actually reside. Just my 2 cents that the current structure
> could be made easier to get into for new people.

Thanks for the feedback!

-- Jeanfrancois

[1]
http://download.java.net/maven/2/com/sun/grizzly/grizzly-framework/1.7.2/
[2] http://download.java.net/maven/2/com/sun/grizzly/grizzly-http/1.7.2/
[3]
http://download.java.net/maven/2/com/sun/grizzly/grizzly-http-webserver/1.7.2/
>
> On Fri, Feb 22, 2008 at 5:34 AM, Ukyo Virgden <ukyovirgden_at_gmail.com
> <mailto:ukyovirgden_at_gmail.com>> wrote:
>
> Hi,
>
> I'm a total newbie on Grizzly. After having experienced NIO
> complexities first hand, I've decided to give Grizzly a try.
>
> My requirements are simple. I need to develop a simple TCP server
> which a couple of clients will connect and send XML documents of size
> 2-4K as fast as possible.
>
> For simplicity I'm thinking about developing a connection based
> protocol where each client identifies itself, starts sending XML
> documents, and after the last document, closes the connection.
>
> My questions are
> 1/ Is possible to easily implement this in Grizzly?
> 2/ How do I start? The download page contains LOTS of directories.
> 3/ Are the any examples?
> 4/ I'm using netbeans for development but I don't prefer uing maven.
> What would be the best way to stat developing with Grizzly in
> netbeans. I'd like to be able to access javadocs within netbeans
>
> Thanks a lot.
>
> Ukyo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> <mailto:users-unsubscribe_at_grizzly.dev.java.net>
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
> <mailto:users-help_at_grizzly.dev.java.net>
>
>
>
>
> --
> http://codepimps.org