Eine kurze Einführung in JRuby. JRuby ist ein Ruby Interpreter, der auf der Java-Plattform (JVM) ausgeführt wird. Er kombiniert die Vorzüge der JVM wie z.B. native Threads und einen hervorragenden Garbage Collector mit den Stärken von Ruby, drunter vollständige Objektorientiertheit und Meta Programming.
5. Features
‣ Läuft zu 100% auf der JVM
‣ Sehr performanter Ruby Interpreter
@railshoster
6. Features
‣ Läuft zu 100% auf der JVM
‣ Sehr performanter Ruby Interpreter
‣ Nutzt Java Threads
@railshoster
7. Features
‣ Läuft zu 100% auf der JVM
‣ Sehr performanter Ruby Interpreter
‣ Nutzt Java Threads
‣ Integriert sich nahtlos in eine Java-
Umgebung
@railshoster
8. Using Java in JRuby
Julian Fischer
fischer@enterprise-rails.de
http://www.enterprise-rails.de
33. Java in JRuby
‣ In Ruby sind get/set-Methoden unüblich.
@railshoster
34. Java in JRuby
‣ In Ruby sind get/set-Methoden unüblich.
‣ Auch hier unterstütz JRuby beide
Konventionen:
@railshoster
35. Java in JRuby
‣ In Ruby sind get/set-Methoden unüblich.
‣ Auch hier unterstütz JRuby beide
Konventionen:
‣ x.getSomething und x.something
@railshoster
36. Java in JRuby
‣ In Ruby sind get/set-Methoden unüblich.
‣ Auch hier unterstütz JRuby beide
Konventionen:
‣ x.getSomething und x.something
‣ x.setSomething(newValue) und x.something = new_value
@railshoster
37. Java in JRuby
‣ In Ruby sind get/set-Methoden unüblich.
‣ Auch hier unterstütz JRuby beide
Konventionen:
‣ x.getSomething und x.something
‣ x.setSomething(newValue) und x.something = new_value
‣ x.isSomething und x.something?
@railshoster
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n
\n
http://rh.gd/uHZPR5\nNote there are no quotes for „include“ but for „require“.\nDir["/some/path/\\*.jar"].each { |jar| require jar }\n