sorry Jess, but I keep not understanding.
Originally Posted by jbalint
I tell what I did up to now.
One war deployed into JBoss into one machine. In this war I have my applicationContext with the client beans definition, and this one also:
<bean id="profilingService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
In my JBoss ( or BEA ) that acts as server, deployed into another computer, I have one simple jar, with my services beans.
I must put another applicationContext in this jar on the server?
If yes I can define into it my serverside beans definition, and also this one:
I also put into the server jar a class with a main method, that, when executed, tells programmatically to Spring to load server side beans definition.
<!-- does not necessarily have to be the same name as the bean to be exported -->
<property name="service"><ref bean="profilingManager"/></property>
<!-- defaults to 1099 -->
The problem is, How I tell to JBoss ( or BEA ) to execute that main class, being that I'm not in a war but into a simple jar???
I hope to have well explained my situation.