Desktop, Java ee, Java me – Google 2007 JavaOne Advance Conference Guide User Manual
Page 15
![background image](/manuals/552844/15/background.png)
|
13
desktop
At the end of each lab session, the completed additions are merged back
into the main MUD application, which will be available to players at the
Conference over the Conference network.
This is an open lab. Attendees are expected to explore their own project
concepts, with design and coding support from the lab leader(s), and
should be familiar with the Java programming language, because the lab
doesn’t cover Java programming language syntax. Attendees need not
have any experience with Darkstar, however.
Java EE
LAB-1610
dive into Script Programming on the Java Platform
Jason Huang, Sun Microsystems, Inc.
Scripting has become more and more popular and very effective for rapid
development of web applications since the Java SE 6.0 scripting engine
was built in according to JSR 223, Scripting for Java Platform. With the
help of the scripting engine in Java SE, scripts can run inside the Java
Virtual Machine and leverage the powers of Java technology.
This Hands-on Lab helps programmers
• Learn basic script programming on the Java platform
• Use scripts in server-side development with the script-based MVC
framework: Phobos and Ajax technology
• Implement a simple scripting engine and embed it into the
Java platform
LAB-3360
Taste the Special Features of the GlassFish Project
Jian Jiang, Sun Microsystems, Inc.
Wang Yu, Sun Microsystems, Inc.
The GlassFish project is the Java EE 5 reference implementation and the
Java Persistence API reference implementation. Beyond these standards,
the GlassFish project has some outstanding and interesting features that
may meet enterprise requirements for future applications. In this lab, you
experience some special features in the GlassFish project, including:
• Asynchronous request processing
• Resource consumption management
• Server pushing technology (Comet)
• FastInfoset in web services
• Scripting in GlassFish
• Self-management
• CallFlow
LAB-4430
developing an Ajax-Enabled Custom JavaServer Faces
Component for NetBeans visual Web Pack
Gail Anderson, Anderson Software Group, Inc.
Winston Prakash, Sun Microsystems, Inc.
This Hands-on Lab is divided into three parts:
Part 1 – Discusses how to write a custom JavaServer Faces component
Part 2 – Examines how to modify the custom component to include Ajax
Part 3 – Covers adding design time to the component so that it can be
imported into NetBeans software and be used in the designer for
designing the application
Java ME
LAB-6340
Advanced Java ME Programming: Streaming video
from a Server to Your device
Martin Brehovsky, Sun Microsystems, Inc.
Lukas Hasik, Sun Microsystems, Inc.
Fabiola Gallegos Rios, Sun Microsystems, Inc.
The Mobile Media API (MMAPI) defined by JSR 135 offers a range of
multimedia capabilities for mobile devices, including playback and
recording of audio and video from a variety of sources. The J2ME Web
Services API (JSR 172) enables Java 2 Platform, Micro Edition (J2ME)
devices to be web services clients, providing a programming model that is
consistent with the standard web services platform.
In this Hands-on Lab session, developers gain experience with successful
tools, technologies, and best practices for seamlessly building a wireless-
application-consuming web service using the Java ME and Java EE
technologies. The result of the Hands-on Lab will be a real-world mobile
application accessing a server with a video database and playing the
selected record on the device.
LAB-7230
Project Sun SPoT, robots, and Java Technology
Eric Arseneau, Sun Microsystems, Inc.
The possibilities and potential applications of wireless embedded devices
are limited only by one’s imagination. Environmental monitoring,
asset tracking, proactive health care, intelligent agriculture, and
military surveillance are just a handful of applications that can be
revolutionized by the use of such devices. However, the current state of
the art makes developing for these platforms a tedious chore—it often
involves learning unfamiliar languages and tools, and there is little or no
debugging support.
Sun Labs researchers working on Project Sun SPOT (Small Programmable
Object Technology) have created a small, wireless battery-powered
device that provides a versatile, Java technology-based platform for
developing embedded applications. This commercially available platform
comes equipped with a 32-bit ARM processor and an IEEE 802.15.4 radio.
Stackable boards include application-specific sensors and actuators such
as accelerometers, light detectors, temperature sensors, LEDs, push
buttons, and general I/O pins. These devices can be duty-cycled to run for
months on a single charge of their rechargeable battery. By supporting
application development and debugging via standard tools and IDEs,
this platform opens up the world of embedded programming to a much
broader class of developers.
This Hands-on Lab is an extended version of a very popular lab from last
year. This year, the people giving the lab have partnered with Systronix
to make it even more fun and interesting. Systronix has developed a
rugged, affordable chassis for Sun SPOTs. A SPOT just clips into the base,
and you now have a mobile SPOT robot. The chassis uses rubber tracks
(like a bulldozer), so it can turn in its own radius and easily climb over
typical obstacles such as power cords. The platform includes sites for
additional sensors and local controllers. The latter provide for “digital
reflexes”: if the robot is about to collide with an object, it can stop in
response to local sensor data without a command from the robot brain.
Cockroaches have similar capabilities: sensors wired directly to their legs
provide quick response for avoiding predators.
cont.
>>
n
n
n
n
n
n
n
n
n
H
an
d
s-o
n
L
ab
s P
ro
g
ra
m