On 7/6/06, haranbanjo <[EMAIL PROTECTED]> wrote:
Hi Bruce, you are very kind :-D Thanks for your support. I will do as you have said. I'm already using a 3.0-M2 version of servicemix. Only one question. I haven't uderstand well the difference from using "servicemix.xml" descriptor instead of "xbean.xml". Both "file-binding" and "soap-binding" exmple suggest to lunch servicemix using this command: ..bin/serivicemix servicemix.xml But.. i have compiled with ANT the soap-binding example i have obtained a zip file (i think service assembly??) that must be copied to servicemix/bin/deploy directory in order to have the service working. So... no servicemix.xml file :-) So my question is... the first method (servicemix.xml) is only for testing purpose? because... if i have a lot of service, this file can grow and became difficult to mantain. Instead, the second method, is usefull for have hot deploy and to have all service definded in a separated file. So.. in a production environment... what is the best choise?
The xbean.xml file is used to configure a service unit. Service units are zip files that are packaged inside of a service assembly. The reason that you're not seeing a servicemix.xml file with the soap-binding example is because, as you correctly stated, the zip file in the soap-binding example is a service assembly. Service assemblies don't contain a servicemix.xml file because they have a jbi.xml which work in conjunction with the xbean.xml files in the serivice units inside the service assembly. If you're interested to understand more about service units and service assemblies, then you will need to read more about the JBI spec. Here is a really great document on JBI: https://open-esb.dev.java.net/public/whitepapers/JBIforSOI.pdf Let us know if you have any further questions. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ - http://incubator.apache.org/activemq/ Apache ServiceMix - http://incubator.apache.org/servicemix/ Castor - http://castor.org/
