Hi Ayashkantha,

You should use the first approach IMO. We don't need duplicate the code for
deploying the toolboxes. It'll become unmanageable and it won't be
consistent also.

Generally we follow the first method, as cApp will copy the artifacts in
the respective servers' deployment directory, and the specific deployer
will handle the deployment logic for that artefact.

Thanks,
Sinthuja.


On Fri, Aug 2, 2013 at 1:11 PM, Ayashkantha Ramasinghe <[email protected]
> wrote:

> Hi,
>
> The "BAM car file deployer" is created to deploy toolboxes in the server
> as a cApp. I have two approaches,
>
> 1. to copy the toolbox to bam-toolbox directly and let the toolbox
> deployer run automatically and deploy the toolbox.
> 2. to deploy the toolbox using the code while deploying cApp without
> copying the toolbox to bam-toolbox directory directly.
>
> In 1st approach, we can go and manually see the toolbox deployed inside
> the directory, bam-toolbox. But, in the 2nd approach, we can't see or
> undeploy it manually, only cApp undeployment does the undeployment of the
> toolbox.
>
> I am also thinking that the 1st approach is good, but, for now, the
> deployer is created based on the 2nd approach.
>
> WDYT???
>
> Thank you
>
> --
> Ayashkantha Ramasinghe
> Software Engineer
>
> Tel: +94 777 487 669
>



-- 
*Sinthuja Rajendran*
Software Engineer <http://wso2.com/>
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to