File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes Some doubts about Ruby on Rails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Some doubts about Ruby on Rails" Watch "Some doubts about Ruby on Rails" New topic
Author

Some doubts about Ruby on Rails

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

I'm a Java programmer very interested about learning RoR, but I have some doubts about it:

1. Is there a company behind RoR, like Sun for Java?
2. Is RoR multiplatform like Java? Does it have a concept like Virtual Machine?
3. When we build some enterprise application, in JEE we have Application Servers, where we deploy our ears, wars or jars. How do we do with RoR? Are there Application Servers for RoR too? Is there a king of "ANT" to RoR, to build our packages?
4. Java has some classes like JCA to make integration with legacy (programs written in COBOL, CICS,DB2). Does RoR have something similar to this?



SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

1. Is there a company behind RoR, like Sun for Java?
Rails was originally written by David Heinemeier Hansson from the company 37 Signals. Since then, I think it has been quite open. The nice part of being open means that features aren't incorporated merely to help third party vendors sell crappy crap - things get added merely to make developers' lives easier.

2. Is RoR multiplatform like Java? Does it have a concept like Virtual Machine?
Well, Java itself is a platform, but by multi-platform of course you mean that the Java platform can run in virtually any OS platform. Ruby actually has an implementation in .NET called IronRuby and a Java implementation called JRuby, so you can actually learn as much as you want about Ruby without ever having to leave your programming platform of choice (I'm assuming it's Java/JVM)!

3. When we build some enterprise application, in JEE we have Application Servers, where we deploy our ears, wars or jars. How do we do with RoR? Are there Application Servers for RoR too? Is there a king of "ANT" to RoR, to build our packages?
With straight-up, non-Java-platform Ruby, Mongrel is a popular choice as an application server. Rake is popular for Ruby builds, however Rails comes with some basic commands for creating applications, deploying to a server, etc. In fact the video here shows **in the first 10 seconds** both the creation of an application and running it on a server by command line:
http://media.rubyonrails.org/video/rails_blog_2.mov

4. Java has some classes like JCA to make integration with legacy (programs written in COBOL, CICS,DB2). Does RoR have something similar to this?
Of course. Google for "ruby ____", placing whatever technology you wish in the blank. You'll generally get at least one option for just about anything.


A good workman is known by his tools.
Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Thanks Marc, for the good explanations.



Marc Peabody wrote:1. Is there a company behind RoR, like Sun for Java?
Rails was originally written by David Heinemeier Hansson from the company 37 Signals. Since then, I think it has been quite open. The nice part of being open means that features aren't incorporated merely to help third party vendors sell crappy crap - things get added merely to make developers' lives easier.

2. Is RoR multiplatform like Java? Does it have a concept like Virtual Machine?
Well, Java itself is a platform, but by multi-platform of course you mean that the Java platform can run in virtually any OS platform. Ruby actually has an implementation in .NET called IronRuby and a Java implementation called JRuby, so you can actually learn as much as you want about Ruby without ever having to leave your programming platform of choice (I'm assuming it's Java/JVM)!

3. When we build some enterprise application, in JEE we have Application Servers, where we deploy our ears, wars or jars. How do we do with RoR? Are there Application Servers for RoR too? Is there a king of "ANT" to RoR, to build our packages?
With straight-up, non-Java-platform Ruby, Mongrel is a popular choice as an application server. Rake is popular for Ruby builds, however Rails comes with some basic commands for creating applications, deploying to a server, etc. In fact the video here shows **in the first 10 seconds** both the creation of an application and running it on a server by command line:
http://media.rubyonrails.org/video/rails_blog_2.mov

4. Java has some classes like JCA to make integration with legacy (programs written in COBOL, CICS,DB2). Does RoR have something similar to this?
Of course. Google for "ruby ____", placing whatever technology you wish in the blank. You'll generally get at least one option for just about anything.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Some doubts about Ruby on Rails
 
Similar Threads
Learn Ruby or groovy or somethign else
I don't know Ruby on Rails: can RoR and Java be in the same app?
Generate GUI from XML
RoR Vs Python+Zope Vs J2EE
does tomcat supports ftp???