Thanks Dan. On Mon, Mar 28, 2011 at 11:40 PM, Daniel Kulp <[email protected]> wrote:
> On Monday 28 March 2011 1:36:59 PM Raj Floyd wrote: > > Thanks Dan for the quick documentation update. Some few questions with > > respect to it. > > > > 1. In normal circumstances, since client and server are two seperate > 'java' > > runtime commands, they are two different JVMs. It therefore effectively > > means they are two seperate buses. Correct me if I am wrong. > > Correct. This is only an optimization for use within the same JVM. > > > > 2. There will be absolutely no interceptors and that includes marshal and > > unmarshal as well. Client invokes the service directly. Correct me. > > There are SOME interceptors, at least on the client side, but not many. > The > coloc stuff is just an interceptor on the client outgoing chain that will > detect if the service is local and then stop the current chain and call off > to > the service. Not really sure on the service side. > > > > 3. Does it have any resemblence to 'local' transport? Since 'local' works > > with in-JVM. > > The local transport is actually a transport that uses things like input > streams and such. Thus, most of the security things and such would work. > It just bypasses the networks stack. > > > > 4. Is this 'coloc' feature alwayz enabled on the client side? > > No. Only if you specificiall enable it. > > > And therefore > > it means client simply verifies whether the service is availabe locally > (as > > per your doc)? > > When enabled, yes. > > > > 5. Where coloc feature might be useful in real life projects? Is this > same > > like local EJB versus Remote EJB? > > Pretty much exactly like that. That's actually a very good example. > > > Dan > > > > > > > Thx > > > > Raj > > > > On Mon, Mar 28, 2011 at 10:24 PM, Daniel Kulp <[email protected]> wrote: > > > On Saturday 26 March 2011 2:01:59 PM Raj Floyd wrote: > > > > Hi, > > > > > > > > Can anyone please throw light on Coloc feature. I did not get any > > > > documentation on it. What exactly CXF Coloc feature does? > > > > > > > > My apologies if there is any documentation on it. In that case, > please > > > > do provide me the pointers. > > > > > > I honestly don't see any docs for it other than the mention in the > > > features list. There is just the sample that is shipped in: > > > samples/in_jvm_transport/ > > > > > > I added a quick page at: > > > https://cwiki.apache.org/confluence/display/CXF20DOC/Coloc+Feature > > > > > > briefly describes it. > > > > > > > > > -- > > > Daniel Kulp > > > [email protected] > > > http://dankulp.com/blog > > > Talend - http://www.talend.com > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog > Talend - http://www.talend.com >
