问题
I have a .war(web app) deployed on Tomcat server. I have another application on jBoss server. The application on the Tomcat is the start point and a jsp on the jBoss server gets called from the Tomcat app. Then I am planning to set a session on the jBoss server app and when I am done my processing on the jBoss I will send back the control to the app on Tomcat.
The question is 1) Is the model that I mentioned above doable? 2) If it is can I invalidate the session on Tomcat server once the control comes back from the jBoss server?
Thanks!
回答1:
What are you trying to do? If the process on JBoss is long running, you might want to use JMS to handle you requests asynchronously...
来源:https://stackoverflow.com/questions/3973842/tomcat-jboss-application