quality@glassfish.java.net

Re: v2 compatibility mode

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 28 Oct 2009 15:48:25 -0400

Hi, Adam

> there is v2 compatibility mode. Really useful for migration.
> See: https://glassfish.dev.java.net/issues/show_bug.cgi?id=10479
>
> However, you have to set it over and over again. There is no way to
> set it globally. So I opened an RFE:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=10496
>
> Otherwise you couldn't deploy v2 app into v3 with e.g. hudson...
>
Just want to clarify, it's not just any v2 app, but v2 app which is
packaged in an incompatible way by the spec. :-) The very reason we did
this clean up in v3 is we want to encourage the compatible packaging by
the spec.

BTW: this flag is set for v2 applications which went through the v2->v3
upgrade process.

Let me talk to Jerome about the plan on this for this release.

(I will close issue 10479 as the flag did work and take the ownership
for 10496 to figure out a plan for this).

Thanks,

- Hong