reklama - zainteresowany?

JRuby Cookbook - Helion

JRuby Cookbook
ebook
Autor: Justin Edelson, Henry Liu
ISBN: 978-05-965-5411-8
stron: 224, Format: ebook
Data wydania: 2008-11-06
Księgarnia: Helion

Cena książki: 109,65 zł (poprzednio: 127,50 zł)
Oszczędzasz: 14% (-17,85 zł)

Dodaj do koszyka JRuby Cookbook

Tagi: Ruby - Programowanie | Technologie webowe

If you're interested in JRuby, you probably don't need a tutorial 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

Dodaj do koszyka JRuby Cookbook

 

Osoby które kupowały "JRuby Cookbook", wybierały także:

  • Ruby on Rails. Ćwiczenia
  • Ruby. Kurs video. Poziom pierwszy. Podstawy jÄ™zyka i praktyczne przykÅ‚ady
  • Programowanie w Ruby. Poziom drugi. Kurs video. Zaawansowane techniki
  • Ruby on Rails (RoR). Kurs video. Programowanie aplikacji internetowych
  • Ruby on Rails. Kurs video. Wdrażanie (deployment) na wÅ‚asne serwery i chmurÄ™

Dodaj do koszyka JRuby Cookbook

Spis treści

JRuby Cookbook eBook -- spis treści

  • JRuby Cookbook
  • Preface
    • Audience
    • Organization
    • Conventions Used in This Book
    • Using Code Examples
    • Safari Books Online
    • Comments and Questions
    • Acknowledgments
  • 1. Getting Started
    • Introduction
    • Installing JRuby
    • Managing Packages with RubyGems
    • Using Both Ruby and JRuby
    • Sharing RubyGems
    • Referencing Java Classes from Ruby
    • Converting a Ruby Array into a Java Array
    • Adding JAR Files to the Classpath
    • Extending a Java Class in Ruby
    • Implementing a Java Interface in Ruby
    • Opening Java Classes with JRuby
    • Setting Up Eclipse for JRuby Development
    • Setting Up NetBeans for JRuby Development
    • Platform Detection in a JRuby Application
  • 2. JRuby on Rails
    • Introduction
    • Installing and Setting Up Rails
    • Packaging Rails As a Java EE Web Application
    • Using an External Gem Repository with a Web Application
    • Configuring the JRuby-Rack Servlet
    • Packaging Rails with a JNDI DataSource
    • Deploying Rails on Tomcat
    • Deploying Rails on JBoss
    • Deploying Rails on Jetty
    • Deploying Rails with jetty_rails
    • Deploying Rails with Mongrel
    • Deploying Rails on the GlassFish v2 Server
    • Using the GlassFish v3 Gem
    • Using ActiveRecord Outside of Rails
    • Accessing Common Java Servlet Information
    • Configuring Session Storage
    • Controlling the Classes, Directories, and Other Files Packaged into a Rails WAR File
    • Changing the Name of the WAR File and the Staging Area
    • Deploying a Rails Application to the Root Context
    • Creating a Rails Application with Aptana Studio
    • Accessing Static Files in Your Rails Java EE Application
  • 3. Java Integration
    • Introduction
    • Executing Ruby from Java
    • Invoking JRuby Through the Bean Scripting Framework
    • Invoking JRuby Through Java Scripting Support
    • Logging from Ruby with Jakarta Commons Logging
    • Using the Java Concurrency Utilities
    • Creating JavaBean Style Accessor Methods
    • Writing Consistent Code
    • Transforming XML with TrAX
    • Creating a Pool of JRuby Runtimes
    • Performing Remote Management with JMX
    • Accessing Native Libraries with JRuby
  • 4. Enterprise Java
    • Introduction
    • Creating a JNDI Context
    • Sending JMS Messages
    • Receiving JMS Messages
    • Implementing an Enterprise JavaBean with JRuby
    • Defining Spring Beans in JRuby
    • Creating Refreshable JRuby Spring Beans
    • Defining JRuby Spring Beans Inline
    • Applying Spring-Aware Interfaces to JRuby Objects
    • Creating Spring MVC Controllers with JRuby
    • Using Hibernate with JRuby
    • Using the Java Persistence API with JRuby
    • Making SOAP Calls
    • Simplifying LDAP Access
  • 5. User Interface and Graphics
    • Introduction
    • Creating Swing Applications
    • Swing Event Handling
    • Long-Running Tasks in Swing Applications
    • Packaging Standalone Applications
    • Packaging JRuby Web Start Applications
    • Creating JRuby Applets
    • Manipulating Images
    • Creating SWT Applications
    • Accessing the Native Desktop
    • Accessing the System Tray
    • Swing Development with JRuby Domain-Specific Languages
    • Using the Monkeybars Framework for Swing Development
    • Creating Qt Applications with JRuby
  • 6. Build Tools
    • Introduction
    • Adding Ruby Scripting to Ant Builds
    • Using Ruby in Ant Conditions
    • Writing an Ant Task in Ruby
    • Adding Ruby Scripting to Maven Builds
    • Writing a Maven Plugin with JRuby
    • Building Java Projects with Raven
    • Referencing Libraries with Raven
    • Hosting a Private Raven Repository
    • Running JUnit Tests with Raven
    • Building Java Projects with Buildr
    • Referencing Libraries with Buildr
    • Building with Rake Inside Hudson
    • Adding Ruby Script to a Hudson Job
  • 7. Testing
    • Introduction
    • Unit Testing Java Code with Test/Unit
    • Unit Testing Java Code with dust
    • Unit Testing Java Code with Expectations
    • Testing Java Code with RSpec
    • Creating Mock Objects with Mocha
    • Modifying the JtestR Classpath
    • Grouping Tests for JtestR
    • Using the JtestR Command-Line Options
    • Running JtestR with Ant
    • Running JtestR with Maven
    • Improving JtestR Performance
  • 8. The JRuby Community
    • Introduction
    • Building JRuby from Source
    • Submitting an Issue Report for JRuby
    • Using the JRuby Mailing Lists
  • Index
  • About the Authors
  • Colophon
  • Copyright

Dodaj do koszyka JRuby Cookbook

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.