jruby and ruby on rails corelation

j2ee is quite heavy and bogus not easily usable language.
however j2ee can work with very heavy sun boxes, due to this reason
ruby has a swing calss jruby.
how can we use some of the features f jruby with ruby on rails
environment.
a system level discussion is required for this purpose.
ruby on rails may be the way out of the java gimmicks and mischieves.

Not quite sure what you're on about but if you are asking whether
jruby can run rails apps then the answer is yes.

Fred

lali wrote:

j2ee is quite heavy and bogus not easily usable language.
however j2ee can work with very heavy sun boxes, due to this reason
ruby has a swing calss jruby.
how can we use some of the features f jruby with ruby on rails
environment.
a system level discussion is required for this purpose.
ruby on rails may be the way out of the java gimmicks and mischieves.

I assume English for you is a second language. I'll try to be as clear
as I can....

Java (the langage) runs inside a Virtual Machine (VM) and is called the
Java Virtual Machine (JVM). The JVM reads instructions from compiled
Java code called Bytecode.

Ruby also run inside of a Virtual Machine, but instead of running
compiled byte code (as with Java) the Ruby VM interprets the Ruby source
code and runs that.

The physical hardware (Sun boxes in your example) execute machine code.
The machine code can be compiled directly for the hardware, as is the
case with most C based languages. Or the machine code can come from a VM
(as with Java and Ruby).

With JRuby the JVM is capable of running Ruby source code just like the
C based Ruby VM. The physical hardware can run either.

One advantage of JRuby is that running Ruby inside the JVM provides you
access to other Java based libraries more directly than running Ruby
outside of the JVM. However, the same could be said for running the
native Ruby VM. It might be easier to use Ruby libraries/gems that
contains native C libraries.

The point I'm making is that the hardware can work with the native Ruby
VM just as easily as the Java Virtual Machine can. Your decision on
which to use must be determined for other reasons beside what physical
hardware will run the Ruby code.

I hope this helps clear thing up for you and does not confuse you more.

Happy coding, and good luck....