Summary
In this chapter we created the LibLib Rails application more or less from scratch, but using the
libraries developed in the last two chapters. We saw how to bundle together functionality from
widely different data sources and provide operations through Java services that would be hard
to add to a pure Ruby system.
We saw how to use JMS and web services to talk to legacy systems and interact with them
in highly productive ways. The overall theme for these three chapters is that many strange
technologies exist in the world, and at some point or another you??™ll need to create code that
works together with these systems. By using JRuby to leverage Java libraries, you??™ll live in the
best world imaginable.
This was the last project in this book; the four we developed should have shown you a
large amount of what can be accomplished by using the strongest features of Java and Ruby
together. In the next chapter we??™ll take a look at a few things we haven??™t discussed, and also
at things that you can do yourself to improve the JRuby ecosystem. Because JRuby is a classic
open source project, your contributions are not only valued, but necessary.
CHAPTER 14 ?– THE LIBLIB RAILS APPLICATION 278
Coda: Next Steps
We??™ve created four different projects based on JRuby on Rails in this book. Most of what
we??™ve done can be generalized and put into real world usage with few changes. However, there
are still many things left to try with JRuby. Because this book has focused on using JRuby in
conjunction with Rails, there??™s a whole area of non-Rails applications and libraries to discover.
Pages:
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409