-
1. Re: Static vs Hot Deployment?
bsnyder Apr 28, 2008 6:33 PM (in response to roger)1. Is there any way I can change the order in which the two deployment (static and JBI) are made? Is it even a good idea?
We don't recommend or support static deployment because it's not JBI compliant, it's no longer being actively developed and using it in conjunction with JBI compliant SAs can be problematic.
2. (Perhaps better?) Perform all deployment using the JBI/hot-deployment model. Questions that rise then are:
Yes, we recommend JBI deployment.
2.1. Where do I put the configuration for these deployments? (For the servicemix-file instances there is folder settings, for the EIP instance there are routing rules.)
JBI deployment requires the creation of service units (SUs) and service assemblies (SAs), just like you've done with the servicemix-eip component.
2.2. What tools are available for me to create these JBI deployment packages? I've read about the Maven tooling, though I cannot find anywhere to put my by-instance configuration in these packages.
There are Maven archetypes available to create Maven projects for each SU and SA from the command line as well as the FUSE Eclipse Tooling that exposes these same archetypes via the Eclipse New Project Wizards.
Bruce
-
2. Re: Static vs Hot Deployment?
roger May 5, 2008 9:18 AM (in response to bsnyder)The Maven archtetypes really helped me out, they actually generate the SU's and the SA's, ready to deploy.
Two notes:
1) At first, the deployed components didn't seem to work. This was due to missing servicemix-*-installer.zip files in the hotdeploy folder. After putting them there, everything worked fine.
2) The JBI plugins for Eclipse do not appear in the File/New windows. Perhaps this is due to some mistake from my side?
Regards,
Roger
-
3. Re: Static vs Hot Deployment?
bsnyder May 5, 2008 12:29 PM (in response to roger)2) The JBI plugins for Eclipse do not appear in the File/New windows. Perhaps this is due to some mistake from my side?
Take a look at the installation instructions for the FUSE Eclipse Tools. These instructions walk you through the installation step-by-step.
Bruce