# Ruby vs Java

**URL:** <https://www.ruby-forum.com/t/ruby-vs-java/110471>\
**Category:** Rails\
**Created:** [July 26, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471 "2007-07-26T17:21:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [July 26, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471/1 "2007-07-26T17:21:54Z")

</div>

I am a newbie. I want to know how Ruby is different from Java. When to  
use Ruby and what are the advantages? Is it focused entirely on Web?

---

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [July 26, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471/2 "2007-07-26T17:33:56Z")

</div>

Visit [http://www.ruby-lang](http://www.ruby-lang),org. There’s lots of info there on how it  
compares to other languages.

It’s a dynamic language with many uses. Ruby on Rails, a framework  
written  
in the Ruby language, is designed for the web. Ruby itself can be used  
for  
many things, including web, automation, shell scripting, and more.

Ruby is to Java as Rails is to Spring+Hibernate (I’m oversimplifying  
here  
to get the point across.)

---

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [July 26, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471/3 "2007-07-26T17:35:56Z")

</div>

On Jul 26, 11:21 am, Rohit [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am a newbie. I want to know how Ruby is different from Java. When to  
> use Ruby and what are the advantages? Is it focused entirely on Web?

[http://www.amazon.com/dp/097761669X](http://www.amazon.com/dp/097761669X)

---

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [July 26, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471/4 "2007-07-26T17:39:56Z")

</div>

On 26 Jul 2007, at 17:21, Rohit wrote:

> I am a newbie. I want to know how Ruby is different from Java. When to  
> use Ruby and what are the advantages? Is it focused entirely on Web?

There’s this site called [google.com](http://google.com) and if you typed your subject in  
the query textfield all of your questions would have been answered 🙂

[http://www.google.com/search?client=safari&rls=en&q=ruby+vs](http://www.google.com/search?client=safari&rls=en&q=ruby+vs)  
+java&ie=UTF-8&oe=UTF-8

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [July 26, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/ruby-vs-java/110471/5 "2007-07-26T17:42:56Z")

</div>

Get your hands dirty and try for yourself.  
Its the best way to find out.  
There are several free books available on the web. Programming Ruby 1st  
edition is one of them.

They are just tools

Above all try to have fun using them

Jorge

On 7/26/07, Rohit [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am a newbie. I want to know how Ruby is different from Java. When to  
> use Ruby and what are the advantages? Is it focused entirely on Web?
> 
> >

## –

Jorge S.
