dev@grizzly.java.net

UDP client built on top of grizzly framework

From: stefano <s.mastrella_at_gmail.com>
Date: Thu, 16 Dec 2010 12:39:02 +0100

Hi all,
I'm starting the developing of a UDP client and I'd like to use the
grizzly-framework to avoid the complexity of the non-blocking feature
in the nio package.

As a starting point I'd like to start from the very last release of
the framework and I found it to be the the 2.0.0-RC3, after the
downloading (from
http://download.java.net/maven/glassfish/org/glassfish/grizzly/grizzly-framework/2.0.0-RC3/)
of both the source jar and the bin jar I didn't find any of the
examples saw in all the other releases, at least I see a jar with all
the tests but they're already compiled.

Don't worry, I thougth, just grab one of the old examples from the
svn, and made it work.
Unfortunately the example from the svn of the grizzly project 2.0 at
https://svn.java.net/svn/grizzly~svn/2dot0, has some errors.
That is, it seems the version on the svn repository has been subjected
to refactoring before the promotion to the RC tag.

As an example in the EchoClient
(http://java.net/projects/grizzly/sources/svn/content/branches/2dot0/code/samples/framework-samples/src/main/java/org/glassfish/grizzly/samples/udpecho/EchoClient.java?rev=5520)
class we can see a call to the
com.sun.grizzly.Connection.configureStandalone(boolean) method which
is not available for the interface com.sun.grizzly.Connection<L>.

So I'd like to know the way for starting on coding a simple UDP client.
TIA

Stefano.

----------------
Now playing: Three Doors Down - Smack