users@grizzly.java.net

Re: newbie question

From: Patrick Julien <pjulien_at_gmail.com>
Date: Fri, 22 Feb 2008 14:28:34 -0500

On Fri, Feb 22, 2008 at 9:17 AM, Jeanfrancois Arcand <
Jeanfrancois.Arcand_at_sun.com> wrote:

>
>
> >
> > 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/



Here is it is:
https://grizzly.dev.java.net/issues/show_bug.cgi?id=69

But to your point, I wasn't promoting that Grizzly should be assembled into
one large jar. If I'm looking for a Mina like jar, than I should be able to
just select this one jar and be done with it. What I'm talking about is
that the thought process between distributing and embedding Grizzly should
be disjoint.

In other words, Mina has several jars too but only one zip file for its
distribution. If I embed it, I'm still only going to only include the jars
that I need. However, the Mina guys aren't hazing me with a large directory
structure on their site. That download site is enough to discourage many.
To be perfectly honest, I don't think I would have bothered to figure it out
with Grizzly if it weren't for the fact that I'm heavily using Glassfish
now. I just don't think I would have cared because Mina is just too easy to
get into.

The idea is that Grizzly, even all jars combined, is small enough just to be
one download. Nobody is going to care about the size of that download.
Once that hurdle is out of the way, we can then proceed to tutorials, which
should actually describe the jars you need, and not have to worry if we are
going to be missing something.

Anyway, I'm past that hurdle now with Grizzly, so I guess I don't really
care anymore if this happens or not. Just sharing my experience of what it
was like for me to get into all of this.

<snip/>