beautypg.com

Tools and languages – Google 2007 JavaOne Advance Conference Guide User Manual

Page 57

background image

java.sun.com/javaone |

technical sessions | track nine : tools and languages

|

|

55

Tools and Languages

TS-9086 Advanced Jruby: Metaprogramming Magic unleashed

Charles Nutter, Sun Microsystems, Inc.

JRuby has enabled all the magic and power of the Ruby language to apply
to Java libraries and frameworks. In many cases, this means simply calling
from Ruby code into Java code as you would with a Java technology-
based application. But this represents only a fraction of Ruby’s potential,
ignoring perhaps its more powerful feature: metaprogramming.

Ruby incorporates metaprogramming as part of the core language,
allowing methods and classes to be written and rewritten at runtime.
It allows creation of handlers for missing methods or missing constants,
crucial for efficiently supporting domain-specific languages. It also
enables code to be evaluated within many different contexts, allowing
a quick and painless way to create new code from simple strings, even
inside existing classes and objects. Metaprogramming is core to nearly
every major Ruby application and sets Ruby apart from other languages
on the Java Virtual Machine.

This session demonstrates Ruby’s metaprogramming features as
applied to the Java platform and its libraries. It walks through creating
a simple domain-specific language, explores the design of builder
syntaxes, and shows how to instantly wrap Java libraries by using
metaprogramming techniques. It also discusses the power and potential
of metaprogramming and shows a few mind-blowing examples of Ruby’s
future on the Java platform.

TS-9363 Java Platform Performance on Multicore:

Better Performance or Bigger Headache?

Azeem Jiva, AMD

Java technology-based applications are not easy to optimize, especially
on multicore processors, with issues ranging from garbage collection
and Java Virtual Machine (JVM) options to quality of generated Java code.
Multiple cores should improve Java technology performance, but when
performance doesn’t materialize, developers are left wondering what’s
going on.

AMD CodeAnalyst Performance Analyzer allows developers using the Java
programming language to correlate time-based profiles, event-based
profiles, generated (JIT) code, and other hardware issues back to their
original Java source code. This session discusses intelligent use of AMD
CodeAnalyst Performance Analyzer to investigate ways of improving Java
platform performance with multicore machines.

Highlights include hardware counters, thread investigations, the effects
of changes on generated code, and investigating hot methods. By the end
of the session, developers will have an understanding of how to improve
the multicore-machine performance of their programs written in the Java
programming language.

TS-9370 Jruby on rails: Agility for the Enterprise

Thomas Enebo, Sun Microsystems, Inc.
Charles Nutter, Sun Microsystems, Inc.

Web development has never been easier than with Ruby on Rails.
From the first day, you have a runnable application, complete with
development server. Code generators create skeletons, configurations,
templates, and tests for your fully-MVC project. The generated code
itself is perhaps a tenth of the size of other frameworks’—sometimes
even smaller than those frameworks’ configuration files alone. Rails
developers are happier and more productive than those working on other
platforms. And best of all, it’s written in the powerful and elegant Ruby
programming language.

Now Rails has arrived on the Java platform. JRuby on Rails brings
the agility of Rails to Java technology-based servers and applications,
from the simplest web applications to the largest enterprise
deployments. It promises agility for web tier developers across all
organizations, in addition to the ease of use and proven scalability
of Java technology-based application servers. This presentation
discusses how JRuby on Rails brings the Rails revolution to the Java
platform, in all its splendor.

TS-9452 visual development and deployment of Advanced

Mobile Applications

David Kaspar, Sun Microsystems, Inc.
Robert Virkus, Enough Software
Milosz Weckowski, Jamba GmbH

Visually designing mobile applications is often considered technology
used only by novices in the mobile arena, but it can also be leveraged
for developing advanced mobile applications dealing with device
fragmentation issues. Creating a compelling mobile application is only
the first step; you also need to sell it.

This session discusses and demonstrates available options for visually
creating mobile applications. It looks at generated code and shows
how to overcome device fragmentation issues. You also learn about
deployment in the real world and how to sell your application, from one
of the biggest content aggregators in the world.

The presentation implements, designs, and deploys a mobile RSS reader—
all done live with available open source software such as NetBeans
software and Java 2 Platform, Micro Edition (J2ME) Polish. You will walk
away not only with in-depth knowledge about the latest tools but also
with a mobile RSS reader that you can download at the end of the session.

TS-1742 Cool Things You Can Do with the Groovy Dynamic Language

TS-8612 jPDL: Simplified Workflow for Java Technology

TS-9086 Advanced JRuby: Metaprogramming Magic Unleashed

TS-9363 Java Platform Performance on Multicore: Better Performance or

Bigger Headache?

TS-9370 JRuby on Rails: Agility for the Enterprise

TS-9452 Visual Development and Deployment of Advanced Mobile Applications

:

track nine : Tools and Languages

n

n

n

n

n

n

n

n

n

Te

ch

n

ic

al

S

es

sio

n

s

:

Tr

ac

k 9

|

T

o

o

ls

a

n

d

L

an

g

u

ag

es

Conference overview

Javaone

Pavilion

Conference-at-a-Glance

After dark Events

Java university

Hands-on Labs Program

Home

registration

Special Programs

Technical Sessions

BoF Sessions

Java Technology

Business day

CLICK HErE

to view real-time session information and updates.