In my application a mobile device sends a request to tomcat servlet, and
then the servlet needs to send a request to a rails controller method
for some processing to be done. After the processing the rails will send
a http request to another tomcat servlet to send the processed results
back to the device.
I cannot avoid the tomcat route because the gateway to send/receive
request to mobile device has the api in java only. I have to go through
this route only.
But my problem is that from the ruby code, I can do the processing and
send the request to tomcat also to send the response. But how do I tell
the action in controller that there is no view associated to be shown,
and after Net:HTTP call nothing needs to be done.