One appistry application calling another using spring remoting
Hi,
I am trying to call one Appistry application from another (in the same fabric) using the spring remoting approach. I've run into a roadblock.
Whenever I try to package the appistry application that will make the remote call I get a "java.lang.NoClassDefFoundError: org/springframework/beans/factory/FactoryBean" exception.
To reproduce the issue replace the "spring_hello_world_bean.xml" in the spring hello world example with the one attached and try to package the app.
The spring.jar is there and has the definition so I'm not sure what the problem is.
Any thoughts?
Thank you,
-Vito
I did recreate the issue. Unfortunately, our class loader will not do what you are trying to do.
That being said, can you give me a little more background to why you are attempting this? Maybe, we can find an alternate path to your goal.
We had planned on having multiple applications that talked to each either. This would give us the ability to update one application separate of another. We have decided that this isn't currently necessary and will package as one application.
I can see wanting the ability to have two applications in the fabric that use each other. I assume we could use the fabric api to do this? (use the fabric api to call another application from an application in the fabric?)
Thank you,
-Vito
Yes, we frequently have had our task in one application execute another request to a different fabric application.
I will check this out.