672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 4 Messages: 4 Messages: 4 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Charles Nutter on the JRuby Project

Posted by: Nitin Bharti on June 05, 2007 DIGG
In this interview, Kirk Pepperdine of TSS.com interviews Charles Nutter, contributor to the JRuby project. Nutter discusses how JRuby is being integrated into the Java platform and how the JVM is evolving to support dynamic languages. He looks at upcoming support for JRuby in Netbeans 6.0 and addresses broader issues around dynamic languages such as type-checking, scalability and performance.

From the interview:

TSS – How do Java and Ruby ultimately interact?

Nutter – Well, for most well designed applications the integration points between frameworks and between modules in the system are via fairly well-defined interfaces. And like most of the other dynamic languages on the JVM, JRuby can implement Java interfaces using Ruby code. So you can start to swap out individual pieces of your application by re-implementing them in Ruby and taking the advantages of some of the features of Ruby in that case. There’s also frameworks like Spring, and some of the other dependency injection frameworks where you can have the dependency injection framework actually instantiate your Ruby-based or other dynamic language-based implementation of those interfaces, injecting it where necessary. And in that case, your code never has to even know that piece of the system has been swapped out for a dynamic language. It allows you to slowly start migrating more and more of your code to one of those languages.


TSS – You spoke of performance and one of the knocks against Ruby, is that it just doesn’t perform well enough for large scale enterprise applications. Is there any truth to that? What is the Ruby community doing to address that, and what are your hopes in terms of performance of JRuby?

Nutter – Well, there’s nothing about the Ruby language specifically that should prevent it from performing well or at least as well as any other dynamic language. There are various characteristics of the existing implementations, the C implementations that perhaps make them a little more difficult to optimize because it is a difficult problem to compile or to just-in-time compile or to do any of the more advanced VM features on an existing code base, like the C implementation. We’re trying to take some different directions with how we solve those problems in JRuby, and we’ve started to get a lot of positive performance numbers, managed to improve things, in certain cases passed the existing C implementation. And we are also trying to feed a lot of what we’ve learned from that research back into the Ruby community so that we can try and be a good member and help them to improve their own performance...


With increased support for dynamic languages like JRuby, do you see Java evolving into a true, multilingual platform?

Threaded replies

·  Charles Nutter on the JRuby Project by Nitin Bharti on Tue Jun 05 12:18:56 EDT 2007
  ·  what abt eclipse ? by J Dev on Tue Jun 05 23:43:34 EDT 2007
    ·  Good interview transcript by prashant jalasutram on Wed Jun 06 10:23:27 EDT 2007
  ·  NetBeans plug-in by Roman Strobl on Wed Jun 06 02:39:05 EDT 2007
  ·  Re: Charles Nutter on the JRuby Project by Giovanni De Facci on Wed Jun 06 07:53:37 EDT 2007
  Message #234098 Post reply Post reply Post reply Go to top Go to top Go to top

what abt eclipse ?

Posted by: J Dev on June 05, 2007 in response to Message #234059
He looks at upcoming support for JRuby in Netbeans 6.0


What about eclipse ?

sudhir
jYog

  Message #234103 Post reply Post reply Post reply Go to top Go to top Go to top

NetBeans plug-in

Posted by: Roman Strobl on June 06, 2007 in response to Message #234059
One correction to the interview concerning the JRuby NetBeans plug-in:

I think the plan for 6.0 final is to have a special Ruby IDE. So that developers can get NetBeans basic IDE + Ruby/JRuby support. So in 6.0 final (J)Ruby should be another option in the installer, which means it will be more than just an external plug-in.

  Message #234117 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Charles Nutter on the JRuby Project

Posted by: Giovanni De Facci on June 06, 2007 in response to Message #234059
>> do you see Java evolving into a true, multilingual platform?

IMO java is already there.
Have a look at this really interesting list.
http://www.robert-tolksdorf.de/vmlanguages.html

  Message #234134 Post reply Post reply Post reply Go to top Go to top Go to top

Good interview transcript

Posted by: prashant jalasutram on June 06, 2007 in response to Message #234098
Charles,

You are really an inspiring person just for the fact that a huge organisation like Sun hired you and asked you to implement ruby features and expect changes in JVM.

Well guys time is getting nearer that we need to look into these so called dynamic scripting languages.

Thanks
Prashant

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 2

Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (January 21, Article)

Ted Neward Q&A: What you must know about JavaScript, Scala and more

Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala. (January 15, Article)

Developers split on open sourcing Java

Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language. (November 24, Article)

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map