Thursday, May 11, 2006
Now you CAN fly a plane with Java
O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java
==================================================================
Scale Software Agility from Single Team Projects to Multi-Team Programs!
See how Rally's on-demand solution for software development management has
helped thousands of developers, testers, analysts and managers improve
their responsiveness, velocity, project visibility, and team
collaboration.
Take the Rally Quick Tour Today!
http://www.oreilly.com/go/rallydev_jav51106
==================================================================
Greetings...
Garbage collection is great until you crash a plane or irradiate a local
populace because GC blocked the process that was supposed to adjust the
ailerons or vent the radioactive steam. That's why the old Java license
statement made you explicitly warrant that you wouldn't use Java for
operating aircraft, nuclear power plants, or other devices whose failure
would be potentially lethal. "Real-Time" Java deals with this problem by
eliminating the unpredictability of garbage collection, meaning your
program can expect a defined level of responsiveness, and you can know
whether this is enough to fly your plane.
"Real Time" doesn't mean "real fast." In Peter Mikhalenko's "Real-Time
Java: An Introduction," the author takes a close look at the Real Time
Specification for Java (JSR 1) and a recent implementation from Sun.
"Real-time Java offers a much more reliable and predictable scheduling
mechanism, memory handling methods, different memory models, a more
predictable threading and synchronization model, asynchronous event
handling, and high-resolution time handling. It makes predictable
execution the first priority in all trade-off decisions, sometimes at the
expense of typical general-purpose computing performance measures. This is
what real-time means."
<http://www.onjava.com/pub/a/onjava/2006/05/10/real-time-java-introduction.html>
If you're working with AJAX you've reduced bandwidth by sending just
needed data as XML rather than requesting a whole new page--but are you
making unnecessary requests? Bruce Perry says "Making HTTP requests
willy-nilly from AJAX applications is almost never a good idea or design
decision. The server side of the equation may not be able to handle the
flood of requests. The client side of the AJAX application may have some
of its requests time out or abort, which will disrupt the user experience
that is meant to be AJAX's strength." In the xml.com article "An AJAX
Caching Strategy," Bruce shows how to tighten up your code.
<http://www.xml.com/pub/a/2006/05/03/an-ajax-caching-strategy-prototype.html>
"If you have been in the IT field for a while, you can't help but get the
feeling of deja vu when you hear vendors pitching new technologies. If the
buzz and hype around Service Oriented Architecture (SOA), makes your head
spin, you are not alone." Nick Simha tries to cut through the hype and
get back to a useful understanding of SOA in the dev2dev article "SOA: Are
We Reinventing the Wheel?"
<http://dev2dev.bea.com/pub/a/2005/08/soa.html>
In this week's article from java.net, Thomas Kuenneth takes a first look
at one of Mustang's most prominent features in "Scripting for the Java
Platform." "One of the exciting new features of Java Standard Edition 6
will allow the tight integration of Java and scripting languages through a
standard Java Scripting API. In this article I will take a closer look at
how the current Mustang beta implements the underlying JSR-223 (Scripting
for the Java Platform) and introduce you to its classes and interfaces."
<http://today.java.net/pub/a/today/2006/04/11/scripting-for-java-platform.html>
Recent O'Reilly Network weblogs of interest to Java developers:
Norbert Ehreke - Make JSR 296 Data-Centric
<http://www.oreillynet.com/onjava/blog/2006/05/make_jsr_296_datacentric.html>
Paul Browne - Java Architecture? One size fits all
<http://www.oreillynet.com/onjava/blog/2006/05/java_architecture_one_size_fit.html>
Check out more O'Reilly Network Java weblogs at:
<http://www.oreillynet.com/pub/q/weblog_s?x-subject=3&>
Please join us again next week.
Chris Adamson, Editor
ONJava.com
cadamson@oreilly.com
==================================================================
O'Reilly Learning Web Programming Certificate Special
"I tried to learn this from books but it only seemed like letters and
numbers for me. Now I am dreaming in code. :)"
-William Twiner, Enterpreneur
Will Twiner is enrolled in our University of Illinois Web Programming
Certificate Series, and plans to use his skills to start a small business.
Have you been wanting to start a new I.T. career, but think you can't
learn the skills? Right now, enroll in all six Web Programming courses,
and receive a $300 instant rebate! Enroll today--you just might surprise
yourself.
<http://www.oreillylearning.com/promotion/>
==================================================================
*** Java News and Weblogs ***
java.net Weblogs
http://weblogs.java.net/
O'Reilly Network Java Weblogs
http://www.oreillynet.com/pub/q/weblog_s?x-subject=3
Other Java News (channel -- LANG: JAVA)
http://www.oreillynet.com/meerkat/index.php
Java Cookbook Recipe of the Day
http://www.onjava.com/onjava/javacook/solution.csp?day=1
Java Events
http://www.onjava.com/onjava/events/
==================================================================
BUY 2 BOOKS DIRECT, GET 1 FREE
Take advantage of O'Reilly's "Buy 2 Books, Get 1 Free" offer by cutting
and pasting code "OPC10" into our shopping cart. Any orders over $29.95
also qualify for free shipping in the US.
http://www.oreilly.com/store/?CMP=NLC-0Z7E11150382&ATT=java7
==================================================================
*** Other Related O'Reilly Network sites ***
O'Reilly Network
http://www.oreillynet.com
XML.com
http://xml.com/
ONLamp.com
http://onlamp.com
O'Reilly Media
http://www.oreilly.com/
O'Reilly Java
http://java.oreilly.com/
***
ONJava.com Affiliates
Servlets.com
http://www.servlets.com/
JDOM.org
http://www.jdom.org/
------------------------------------------------------------------
Visit our Sponsored Developer Resource Pages and learn about cool
stuff from our sponsors!
Downloads - Free Training - Webinars - Updates
Altova's Developer Zone: http://www.xml.com/zones/altova
ASP.net 2.0 Training Center: http://www.oreilly.com/go/ms_aspnet
Driver Agents Driver Updates: http://www.oreilly.com/go/driver_updates
GoToMyPC(R) Remote Access: http://www.oreillynet.com/etel/citrix/
Coming soon:
Stylus StudioTutorials from DataDirect!
------------------------------------------------------------------
Interested in sponsoring the ONJava.com newsletter? Please email us
at advertising@oreilly.com for rate and availability information.
Thank you!
------------------------------------------------------------------
To change your newsletter subscription options, please visit
http://www.oreillynet.com/cs/nl/home
For assistance, email help@oreillynet.com
O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000
------------------------------------------------------------------