I’m working at getting Rails introduced in my company. We’re a J2EE
Our deployments make use of thee-tiered architecture, just to be clear,
that means that there are essentially three machines involved in dealing
out an app: a webserver, an application server, and a database server.
As I see it (unless I’ve missed something) Ruby is essentially two-tier:
The web/application tier live together on the webserver and then they
talk to the database which could conceivably be on another box.
One of the primary reasons we use three-tier is for security compliance
for some of our customers (well known financial folks). So one thing I
need to do is convince my boss that Rails can play nicely in this
My thinking is that Rails could live on the application tier and we
simply use a first tier webserver to proxy to it. Alternatively, you
could simulate the ‘J2EE experience’ by setting up two Rails apps.
The first-tier app simply makes calls to the middle tier which does all
the hard work.
Am I thinking through this right? Thoughts? Alternatives?