RE: Re: Rails on Tomcat or JBoss?

Thats not entirely through,

entirely true, ouch…

Well… for all practical purposes, it is true. But, technically, you
could use Tomcat’s webserver and CGI capabilities – at least this was
true the last time I checked (v4). We’d be hard-pressed to find anyone
using this in a production environment though…

That’s interesting. One of the big reasons to use J2EE is that servlets
scale much better than CGI scripts because only a single instance of
each
servlet is used to service all requests. Does that mean that using
Rails
with Apache is going back to the CGI approach? The Rails book lists
FastCGI
as an alternative to CGI. Does that change the situation?

Most of the clients I’ve worked with are already set-up to use one of
the
major J2EE application servers, like WebSphere, WebLogic, or JBoss.
Assuming they already use a separate web server (i.e., Apache), how do
you
deploy production Rails applications in those environments? Do people
use
the FastCGI approach? I seriously doubt any of my clients are going to
be
interested in replacing their existing web servers.

I freely admit that it’s likely I’m missing something, since my
background
is obviously Java and I’ve only just begun my journey toward Rails.

Any insight would be appreciated.

Thanks,

Ken


Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.
http://www.kousenit.com
[email protected]