I have a project which will need to have some Java layer. I am wondering it if is reasonable to try to avoid using jRuby by having the Ruby code call some URL that would invoke a Java controller, which, I guess, would return some JSON.
Is that a reasonable approach? Or does it have inherent problems when in comes to architecture and would be a pain in the long run?
Also, if it is just Ruby, can it still be hosted on Tomcat and be part of my .war file? And What is that rails part that I will seem to be missing?