dev@glassfish.java.net

Re: [arch] add a new asadmin redeploy option or reuse existing one for the new EJB feature?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Wed, 09 Jun 2010 14:10:20 -0700

On 6/9/10 1:57 PM, Mahesh Kannan wrote:
> The problem with keepState=web,ejb is:
> 1. Why would a user want to retain just web state and not ejb state
> (or vice versa) in his application?
This is the real point!!! Where is the use case?
Why a developer using an IDE would want to switch all these toggles when
debugging a shopping cart application?

  If there is no use case, then have 1 single param, whatever name, and
keep the old property for backward compatibility...
Ludo
> 2. If ejb container is NOT ha enabled, what will be the effect of
> specifying --keepState=web,ejb ?
>
> I prefer to say --keepState=true and let each container to retain
> whatever "state" means to them.
>
> --Mahesh
> ava.net
>