๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Using JRuby: Bringing Ruby to Java

โœ Scribed by Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini, Ian Dees


Publisher
Pragmatic Bookshelf
Year
2011
Tongue
English
Leaves
347
Edition
1
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


In Using JRuby you'll venture into the wide world of open-source Ruby and Java libraries. Write Ruby on Rails web applications that run on Java servers like Tomcat. Use Java's JDBC or Hibernate to easily connect Ruby to industry-standard databases. Test your Java program using Ruby's elegant Cucumber and RSpec frameworks. Create dazzling desktop user interfaces with frameworks like Limelight and Monkeybars. Package a Rails or plain Ruby project for easy deployment to any Java environment. JRuby lets you merge the best of several possible worlds, so you can create unique software using the best tools available. This book is your definitive guide.

โœฆ Table of Contents


Contents......Page 7
Foreword by Matz......Page 11
Foreword by Bruce Tate......Page 12
Why JRuby?......Page 14
What's in This Book......Page 15
Online Resources......Page 16
Conventions......Page 17
Acknowledgments......Page 18
JRuby Core......Page 19
Getting to Know JRuby......Page 20
Installing JRuby......Page 21
Kicking the Tires......Page 23
The Command Line......Page 24
IDEs......Page 26
The Compiler......Page 28
Java Integration......Page 29
Wrapping Up......Page 30
Seeing Java Through Ruby Glasses......Page 31
Dealing with the Classpath......Page 38
Loading Classes......Page 41
Using Objects......Page 43
Passing Parameters......Page 45
Calling Overloaded Methods......Page 50
Implementing a Java Interface......Page 54
Troubleshooting......Page 55
Wrapping Up......Page 58
Ruby from Java: Embedding JRuby......Page 60
A Real-Life Example: Source Control......Page 61
The Nitty-Gritty......Page 70
Embedding Strategies......Page 74
Wrapping Up......Page 77
Compiler 101......Page 78
A Simple Compiled Example......Page 85
The Details......Page 91
Wrapping Up......Page 96
JRuby and the World......Page 97
What Is Rails?......Page 98
Going Rouge......Page 105
Building Our Models......Page 111
Restaurant Administration 101......Page 118
Open to the Public......Page 122
Wrapping Up......Page 132
Ruby Database Frameworks......Page 133
Ribs......Page 154
JDBC......Page 161
Wrapping Up......Page 164
Rake......Page 165
Ant......Page 173
Maven......Page 180
Packaging for Deployment......Page 183
Wrapping Up......Page 198
Testing Your Code with JRuby......Page 199
Ruby Test Frameworks......Page 200
Mocking and Stubbing......Page 212
Wrapping Up......Page 217
Writing High-Level Tests with Cucumber......Page 218
Acceptance Testing......Page 221
Plugging Into Java......Page 229
Wrapping Up......Page 239
JRuby to the Rescue!......Page 240
Swing......Page 241
Rubeus......Page 246
Monkeybars......Page 250
Limelight......Page 260
Wrapping Up......Page 268
Reference......Page 271
Meet Ruby......Page 272
A Closer Look......Page 275
Getting the Job Done......Page 289
How Method Selection Works......Page 290
Parameter Types......Page 291
Return Values......Page 292
Command-Line Options......Page 294
Properties......Page 306
Foreign-Function Interface......Page 309
Automating Tasks......Page 315
Monitoring Applications......Page 316
Wrapping Up......Page 321
Limelight Example Source......Page 322
Bibliography......Page 330
C......Page 332
J......Page 333
M......Page 334
R......Page 335
T......Page 336
Z......Page 337


๐Ÿ“œ SIMILAR VOLUMES


Using JRuby: Bringing Ruby to Java
โœ Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini, Ian Dees ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Pragmatic Bookshelf ๐ŸŒ English

In Using JRuby you'll venture into the wide world of open-source Ruby and Java libraries. Write Ruby on Rails web applications that run on Java servers like Tomcat. Use Java's JDBC or Hibernate to easily connect Ruby to industry-standard databases. Test your Java program using Ruby's elegant Cucumbe

Using JRuby: Bringing Ruby to Java
โœ Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini, Ian Dees ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› The Pragmatic Programmers ๐ŸŒ English

Now you can bring the best of Ruby into the world of Java, with Using JRuby. Come to the source for the JRuby core team's insights and insider tips. You'll learn how to call Java objects seamlessly from Ruby, and deal with Java idioms such as interfaces and overloaded functions. Run Ruby code from J

Practical JRuby on Rails Web 2.0 project
โœ Ola Bini ๐Ÿ“‚ Library ๐Ÿ“… 2007 ๐Ÿ› Apress ๐ŸŒ English

It is a really good book. Just a bit old. If only the author would update it. Still recommend it if you are looking to get a head state on jruby. You will run into a few surprises once you download and install the latest rails but nothing you cannot overcome am sure.

Practical JRuby on Rails Web 2.0 project
โœ Ola Bini ๐Ÿ“‚ Library ๐Ÿ“… 2007 ๐Ÿ› Apress ๐ŸŒ English

It is a really good book. Just a bit old. If only the author would update it. Still recommend it if you are looking to get a head state on jruby. You will run into a few surprises once you download and install the latest rails but nothing you cannot overcome am sure.