Salut
Cam Bazz wrote:
> Hello,
>
> After hours of digging, I somewhat got few comet examples to work with
> netbeans and glassfish v2. It seems that if you add appserver-rt.jar to
> the classpath and use the com.sun.enterprise... include, it will work,
> otherwise you get a grizzly not registered exception.
Yes I need to document or blog about that. Any chance you can blog about
your experience?
>
> currently I am checking out the svn of grizzly to review some samples.
>
> I understand that some of the samples are glassfish v3. I have developed
> my app in v2, and currently it will be a hassle for me to go v3.
You don't need to change anything to move from v2 to v3. Just add the
following bundle under your WEB-INF/lib:
http://download.java.net/maven/2/com/sun/grizzly/grizzly-compat/1.8.0/grizzly-compat-1.8.0.jar
The package name changed between v2 and v3 because Grizzly moved out of
GlassFish and we renamed the package from
com.sun.enterprise.web.connector.grizzly to com.sun.grizzly. The compat
package allow you to run a v2 application in v3 without having to change
the package name.
>
> what are the differences between comet in v2 and v3. is comet usable for
> reallife use with v2?
The v2 implementation is much more stable and have much more users, as
Comet was introduced in July 2006 in GlassFish v2. I would recommend you
stick with v2 for now.
Thanks!
-- Jeanfrancois
>
> Best Regards,
> -C.B.