Tomcat + Ruby + REST support

27 views
Skip to first unread message

Shubhada S.

unread,
Jul 10, 2013, 2:06:18 AM7/10/13
to rubyonra...@googlegroups.com
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

--
Posted via http://www.ruby-forum.com/.

Hassan Schroeder

unread,
Jul 10, 2013, 11:01:07 AM7/10/13
to rubyonra...@googlegroups.com
On Tue, Jul 9, 2013 at 11:06 PM, Shubhada S. <li...@ruby-forum.com> wrote:

> 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?

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 Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

Shubhada S.

unread,
Jul 11, 2013, 2:58:01 AM7/11/13
to rubyonra...@googlegroups.com
> I think you need to read more on exactly what "REST" means...
>

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

Hassan Schroeder

unread,
Jul 11, 2013, 7:06:53 AM7/11/13
to rubyonra...@googlegroups.com
On Wed, Jul 10, 2013 at 11:58 PM, Shubhada S. <li...@ruby-forum.com> 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,
Reply all
Reply to author
Forward
0 new messages