JRuby Cookbook (Paperback)

Justin Edelson, Henry Liu

  • 出版商: O'Reilly
  • 出版日期: 2008-12-16
  • 定價: $1,188
  • 售價: 8.0$950
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 059651980X
  • ISBN-13: 9780596519803
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

商品描述

If you're interested in JRuby, you probably don't need a turorial on Ruby, Rails, or Java -- you just need to know how to get things done. This Cookbook offers practical solutions for using the Java implementation of the Ruby language, with targeted recipes for deploying Rails web applications on Java servers, integrating JRuby code with Java technologies, developing JRuby desktop applications with Java toolkits, and more. Using numerous reusable code samples, JRuby Cookbook shows you how to:

  • Install and update JRuby on Windows, Mac OS X, and Linux, and IDEs such as NetBeans and Eclipse
  • Package and deploy Rails apps on Java Servlet containers and Java EE application servers, including JBoss, Tomcat, and GlassFish
  • Integrate Ruby and Rails applications with popular Java EE technologies such as JMS, JMX, JPA, Spring, and Hibernate
  • Develop desktop and client applications with cross-platform Java UI technologies and toolkits such as Swing, SWT, and Java 2D
  • Maximize the flexibility of your testing and build environment, using both existing Java-based tools such as Ant and Maven and newer Ruby-based tools such as Rake, Raven, and Buildr

The JRuby interpreter combines Ruby's simplicity and ease of use with Java's extensive libraries and technologies, a potent blend that opens new possibilities for Ruby, Rails, and Java. This Cookbook helps you take full advantage of JRuby's potential.

"The JRuby Cookbook is an excellent book for any polyglot who is trying to bridge the gap between Java and Ruby. It provides solutions to specific problems developers face in both their development and testing environments, along with the applications they're building." -- Bob McWhirter, Research & Prototyping, Red Hat Middleware

商品描述(中文翻譯)

如果你對JRuby感興趣,你可能不需要關於Ruby、Rails或Java的教程,你只需要知道如何完成工作。這本《JRuby Cookbook》提供了使用Ruby語言的Java實現的實用解決方案,包括在Java服務器上部署Rails網絡應用程序、將JRuby代碼與Java技術集成、使用Java工具包開發JRuby桌面應用程序等有針對性的配方。通過使用大量可重用的代碼示例,《JRuby Cookbook》向您展示如何:安裝和更新Windows、Mac OS X和Linux上的JRuby,以及NetBeans和Eclipse等IDE;將Rails應用程序打包並部署到Java Servlet容器和Java EE應用程序服務器,包括JBoss、Tomcat和GlassFish;將Ruby和Rails應用程序與流行的Java EE技術(如JMS、JMX、JPA、Spring和Hibernate)集成;使用跨平台Java UI技術和工具包(如Swing、SWT和Java 2D)開發桌面和客戶端應用程序;最大程度地提高測試和構建環境的靈活性,使用現有的基於Java的工具(如Ant和Maven)以及新的基於Ruby的工具(如Rake、Raven和Buildr)。JRuby解釋器結合了Ruby的簡單易用性和Java的豐富庫和技術,這種強大的結合為Ruby、Rails和Java帶來了新的可能性。這本Cookbook幫助您充分利用JRuby的潛力。《JRuby Cookbook》是一本對於試圖搭起Java和Ruby之間橋樑的多語言開發者來說非常好的書籍。它提供了開發者在開發和測試環境以及他們正在構建的應用程序中遇到的具體問題的解決方案。- Bob McWhirter,研究和原型開發,紅帽中間件