users@glassfish.java.net

Re: 3.1 Deployment One Pager

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Thu, 20 May 2010 10:30:23 -0700

Now also available at:

http://wiki.glassfish.java.net/Wiki.jsp?page=VersioningArunGupta

Thanks,
-Arun

On 5/20/10 9:56 AM, Arun Gupta wrote:
> I reviewed the Versioning Document at:
>
> http://wiki.glassfish.java.net/Wiki.jsp?page=VersioningDesignDocument
>
> The document clearly explains how things work. Adding some more
> clarifications will make it more meaningful. Here are my comments based
> upon that:
>
> 1). I think the real benefits of versioning needs to be clearly defined.
> If only one version of an application is going to remain enabled at a
> given time, what use case does it serve ?
>
> Is it possible to keep another version of application available in
> non-production or test mode ? And then when enough testing has been done
> then roll it to production/enable mode ?
>
> 2). AIU rolling back and forward to a new version will save the precious
> deployment time. What is the differential between new deployment or
> switching to the old/new version ?
>
> 3). The purpose of --name attribute is not clear, is it mandatory ? Why
> can't it be derived from the archive name ? Do the deployable archive
> names need to be different ?
>
> 4). Do the archive names need to be same if the redeployed version is
> same ?
>
> 5). Some more details on how/where the internal versions are stored will
> be helpful.
>
> 6). 5.4 says "If the currently enabled version isn't matched by the
> expression, the command will result in a no-operation."
>
> I think the no-op will return an error message.
>
> 7). "asadmin disable foo:*" will disable the untagged version as well,
> right ? This will be in sync with "undeploy foo:*". If so, then this
> should be documented.
>
> 8). What is the use case of creating application ref ?
>
> 9). In 6, 2nd scenario, do deploying a new version automatically enable
> it as well ?
>
> 10). In 8.2.1, should the error message be "Version foo:2 not registred"
> or "Version foo:2 not *deployed*" ? Ditto for 8.2.2.
>
> Thanks,
> -Arun
>
> On 5/19/10 1:45 PM, glassfish_at_javadesktop.org wrote:
>> 3.1 Deployment One Pager is now available for review here:
>>
>> http://wiki.glassfish.java.net/Wiki.jsp?page=3.1DeploymentOnePager
>>
>> The complete list of one-pagers for 3.1 is available here:
>>
>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FunctionalSpecs
>>
>> Comments are welcome. Thanks!
>> [Message sent by forum member 'hzhang_jn']
>>
>> http://forums.java.net/jive/thread.jspa?messageID=470560
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>

-- 
Blog: http://blogs.sun.com/arungupta
Twitter: http://twitter.com/arungupta