Hi,

If the PersonImpl you mentioned here is deployed as cxfse endpoint, then I believe you can use proxy between different cxf se endpoint.

Let's say PersonImpl need invoke BussinessImpl, so you can deploy PersonImpl and BussinessImpl as different cxf se endpoint, and inject the proxy of BussinessImpl to PersonImpl se endpoint, then you can invoke BussinessImpl from PersonImpl directly.


Take a look at [1] Proxies part.

[1]http://servicemix.apache.org/servicemix-cxf-se.html

Freeman
On 2010-1-20, at 下午9:00, roshansn wrote:


Hi

I need to load a instance of an application context file for each
application who is going to access my service. As a example ,

Lets say PersonImpl class use a another service to handle its business
logic. Then we need to initialize that service. When Application Id 1 come to access the service we need to create a new Application context and some
other application comes to access this service new Application context
should be created.

The new Application context should be created when xbean.xml file is
initialized. So I need to know is it possible to load an application context
when xbean.xml instantiate?

Thanks

--
View this message in context: 
http://old.nabble.com/Load-a-new-Application-Context-for-each-application-tp27241334p27241334.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to