Tomcat + Ruby + REST support

Hi,
I want to make our application to be supported with REST
APIs.
We will receive the REST requests to Tomcat application server. And from
there we need to forward it to our application in ruby.

So I want to understand that what the exact things I will need to have
to complete this setup for REST communication. Few things I have listed
down.

  1. The application
  2. Tomcat apache server
  3. phusion passenger (This is I am not sure about. But, for
    communication between Tomcat and our framework in ruby.)

Can anybody help me out to understand if above things are correct or
not?

Also, I dont understand what will work as a REST server here. Or I will
have to write a seperate serving module for REST?

Is more explanation required to understand the problem?

Regards,
Shubhada

On Tue, Jul 9, 2013 at 11:06 PM, Shubhada S. [email protected]
wrote:

  1. Tomcat apache server
  2. phusion passenger (This is I am not sure about. But, for
    communication between Tomcat and our framework in ruby.)

Can anybody help me out to understand if above things are correct or
not?

If your application runs with JRuby, you can use Tomcat as your app
server; Phusion Passenger is not relevant to Tomcat.

Have you tried running your app using JRuby?

Also, I dont understand what will work as a REST server here. Or I will
have to write a seperate serving module for REST?

Is more explanation required to understand the problem?

I think you need to read more on exactly what “REST” means…

Good luck,

Hassan S. ------------------------ [email protected]

twitter: @hassan

I think you need to read more on exactly what “REST” means…

Thanks Hassan. Can you please provide any good document for
understanding REST?

Regards,
Shubhada

On Wed, Jul 10, 2013 at 11:58 PM, Shubhada S. [email protected]
wrote:

Can you please provide any good document for understanding REST?

http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
is a good place to start.

HTH,

Hassan S. ------------------------ [email protected]

twitter: @hassan