> +
> +            //Means that this is not the our deployment archive
> +            boolean result = 
> addBeanDeploymentInfos(statelessList.toArray(new 
> DeploymentInfo[statelessList.size()]), SessionBeanType.STATELESS);
> +            if(!result)
> +            {
> +                deployedApplications.remove(appInfo);
> +                return;
> +            }
>
> -            addBeanDeploymentInfos(statelessList.toArray(new 
> DeploymentInfo[statelessList.size()]), SessionBeanType.STATELESS);
>             addBeanDeploymentInfos(statefulList.toArray(new 
> DeploymentInfo[statefulList.size()]), SessionBeanType.STATEFUL);
>             addBeanDeploymentInfos(singletonList.toArray(new 
> DeploymentInfo[singletonList.size()]), SessionBeanType.SINGLETON);
>         }


Gurkan,

Doesn't this disable EJB support for applications that don't have
stateless session beans but might have a singleton or an SFSB?

Is it as simple as making sure none of them return true  before
removing deployed app?

-- 
Eric Covener
[email protected]

Reply via email to