Re: [servicemix-user] Distribution of ServiceMix
Hendrik Jander wrote: Hello, im doing some research on ESB's actually and also evaluated ServiceMix while this. Im a bit confused about the Distribution aspect of ServiceMix.This is because i read that that JBI itself in its actual version is not distributed. So how can ServiceMix implement an distributed ESB based on JBI? Specs are never closed. I don't think the J2EE specs defines clustering of j2ee servers, but this is a well known feature. in the docs i only can find doucmentation about JMS topologies. so , is this the key to distribution of ServicexMix? and if so, is the service repository then also distributed? In ServiceMix, you have basically two options to make two services in different jvm talk together: * the first one is to go throught binding components and a known protocol * the second one is to use a cluster flow, which ease the pain: you do not have to define explicitely the route from one service to the other. They are automatically discovered. ServiceMix uses ActiveMQ (the well known open source JMS provider) to provide this distribution. But it also provides load-balancing and fail-over : if the same service is on two different nodes, they will act as the same service and requests may be load-balanced between the two service instances. However, ServiceMix does not currently provide a service repository, where all services would automatically be deployed on all clustered ServiceMix containers. Cheers, Guillaume Nodet This may be newbie question for you, but im a bit confused with the stuff..:) REgards, Hendrik This mail was sent through http://webmail.uni-jena.de
Re: [servicemix-user] Distribution of ServiceMix
Hi, thanks for the quick reply. but this raises other questions. please see questions inside. Hendrik Jander wrote: Hello, im doing some research on ESB's actually and also evaluated ServiceMix while this. Im a bit confused about the Distribution aspect of ServiceMix.This is because i read that that JBI itself in its actual version is not distributed. So how can ServiceMix implement an distributed ESB based on JBI? Specs are never closed. I don't think the J2EE specs defines clustering of j2ee servers, but this is a well known feature. in the docs i only can find doucmentation about JMS topologies. so , is this the key to distribution of ServicexMix? and if so, is the service repository then also distributed? In ServiceMix, you have basically two options to make two services in different jvm talk together: * the first one is to go throught binding components and a known protocol * the second one is to use a cluster flow, which ease the pain: you do not have to define explicitely the route from one service to the other. They are automatically discovered. ServiceMix uses ActiveMQ (the well known open source JMS provider) to provide this distribution. But it also provides load-balancing and fail-over : if the same service is on two different nodes, they will act as the same service and requests may be load-balanced how can SM know that 2 services are the same? how is this managed? between the two service instances. However, ServiceMix does not currently provide a service repository, where all services would automatically be deployed on all clustered will it one day ? :) and when i deploy a service to one node, how do the other nodes get this to know? ServiceMix containers. Cheers, Guillaume Nodet This may be newbie question for you, but im a bit confused with the stuff..:) REgards, Hendrik This mail was sent through http://webmail.uni-jena.de This mail was sent through http://webmail.uni-jena.de
Re: [servicemix-user] Distribution of ServiceMix
Hendrik Jander wrote: Hi, thanks for the quick reply. but this raises other questions. please see questions inside. Hendrik Jander wrote: In ServiceMix, you have basically two options to make two services in different jvm talk together: * the first one is to go throught binding components and a known protocol * the second one is to use a cluster flow, which ease the pain: you do not have to define explicitely the route from one service to the other. They are automatically discovered. ServiceMix uses ActiveMQ (the well known open source JMS provider) to provide this distribution. But it also provides load-balancing and fail-over : if the same service is on two different nodes, they will act as the same service and requests may be load-balanced how can SM know that 2 services are the same? how is this managed? ServiceMix assumes that if two endpoints are activated with the same information (service qname and endpoint name), they are the same. This is currently no versioning of services. between the two service instances. However, ServiceMix does not currently provide a service repository, where all services would automatically be deployed on all clustered will it one day ? :) and when i deploy a service to one node, how do the other nodes get this to know? I hope, but we have not yet investigated these issues. If you want to contribute it, fell free to do so :) Cheers, Guillaume Nodet
RE: [servicemix-user] Distribution of ServiceMix
Hi Hendrik, Even I have questions about ServiceMix claim as JBI implementor. As per JBI specification 4.1, every component has to expose WSDL to be claimed as JBI complaint. But I saw no component with WSDL interface in Servicemix examples. I asked these questions to James Strachen on TSS and in these forums. Due to unkonown reason, the servicemix team is avoiding to answer these questions. But by any chance, if you get an answer, please share with me. Thanks Kosuru -Original Message- From: Hendrik Jander [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 4:21 AM To: user@servicemix.codehaus.org Subject: [servicemix-user] Distribution of ServiceMix Hello, im doing some research on ESB's actually and also evaluated ServiceMix while this. Im a bit confused about the Distribution aspect of ServiceMix.This is because i read that that JBI itself in its actual version is not distributed. So how can ServiceMix implement an distributed ESB based on JBI? in the docs i only can find doucmentation about JMS topologies. so , is this the key to distribution of ServicexMix? and if so, is the service repository then also distributed? This may be newbie question for you, but im a bit confused with the stuff..:) REgards, Hendrik This mail was sent through http://webmail.uni-jena.de
RE: [servicemix-user] Distribution of ServiceMix
Guillaume, Couple of questions for you: 1) What do you mean that these components are not in the spirit of JBI? Please give all the details on what in your opinion makes these non JBI spirited? :). Is this just in regards to how they can be deployed? 2) Can you provide an example of the two different deployment scenarios? I think it would help to understand this email thread a little better with real use cases etc... 3) What does JBI say that a WSDL for a component will look like? In my head a WSDL will describe all the expected messages (data types) and operations of a component, but I suspect with JBI and components it's a little more abstract than this. I took a look at the JBI spec but I'm not sure how it requires a WSDL to look in the context of ServiceMix. 4) Once components expose their wsdl's, how will routing to these components change? What does exposing a WSDL for a component really do for us when all we are doing is configuring things via spring beans? Thanks, Jeff -Original Message- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 10:46 AM To: user@servicemix.codehaus.org Subject: Re: [servicemix-user] Distribution of ServiceMix Hi ! We are not avoiding these questions :) ServiceMix aims to be 100% JBI compliant, but I do not pretend we are yet. We do not have a TCK, but as soon as we get one, we will ensure it passes it. As for WSDL, you are right that the lightweight components do not expose any wsdl interface. But these components are not really in the spirit of the JBI spec either: they do not support service unit deployments. But they offer a more light weight approach of JBI. When you implement a specifiation, you do not have to limit yourself to what the spec says and we hope to further ease the use of JBI with other enhancements. The 3.0 version of ServiceMix, which we are working on, will offer new components, which are written in the spirit of the JBI spec. They support wsdl or xml deployment, so that the service units you deploy on them can expose a wsdl for their service. I will also say that we do not support WSDL 2.0 yet, which the JBI spec mandates (we will use Apache Woden for that). But one of the reason is that WSDL 2 is not very known / used and no WS-* specifications uses it yet. Btw, this is an open source project, and we have nothing to hide. You are also free to join the team and contribute to any area you wish, in particular JBI compliance :) Cheers, Guillaume Nodet Kosuru, Giri wrote: Hi Hendrik, Even I have questions about ServiceMix claim as JBI implementor. As per JBI specification 4.1, every component has to expose WSDL to be claimed as JBI complaint. But I saw no component with WSDL interface in Servicemix examples. I asked these questions to James Strachen on TSS and in these forums. Due to unkonown reason, the servicemix team is avoiding to answer these questions. But by any chance, if you get an answer, please share with me. Thanks Kosuru -Original Message- From: Hendrik Jander [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 4:21 AM To: user@servicemix.codehaus.org Subject: [servicemix-user] Distribution of ServiceMix Hello, im doing some research on ESB's actually and also evaluated ServiceMix while this. Im a bit confused about the Distribution aspect of ServiceMix.This is because i read that that JBI itself in its actual version is not distributed. So how can ServiceMix implement an distributed ESB based on JBI? in the docs i only can find doucmentation about JMS topologies. so , is this the key to distribution of ServicexMix? and if so, is the service repository then also distributed? This may be newbie question for you, but im a bit confused with the stuff..:) REgards, Hendrik This mail was sent through http://webmail.uni-jena.de This email (and any attachments) is intended only for the use of the individual or entity named above and may contain information that is privileged and confidential. If you are not the intended recipient, or have unauthorized access, you are hereby notified that copying, disseminating, distributing or taking any action in reliance on this email is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it.