Teaching Java the Extreme Wayby
ONJava Newsletter for 10/10/2002
This week on ONJava.com, notable Java for the Mac OS X and extreme programming (XP) expert Daniel H. Steinberg returns with part two in his series of articles on Extreme Programming with Java. In this article, he looks at a test-first approach to programming and learning. Daniel writes: "In extreme programming you have a task you want to accomplish. Within that task, you choose a small, measurable result. You think about how you would verify that you've accomplished that result. You write the test and then you write the code that will pass the test." What do you think of this approach and of extreme programming for Java, in general. Share your views in the Talk Back section at the end of this article.
Also this week, client-side Java media expert Chris Adamson talks about self-playing media with the Java Media Framework (JMF). Viewed as a client-installed media player, the JMF isn't very impressive. But from the content provider's point of view, the story is much more interesting. The fact that JMF is available in an all-Java mode makes it possible to deploy media without a requirement for any particular media technology on the client side, except, of course, for the J2SE Java runtime. Additionally, it's possible to take advantage of the .jar file format to stuff the decoder and the media into one file, creating, in effect, a "self-playing movie," similar to compression applications like WinZip, which can create self- expanding archives. Give it a try with the source code that's available in this article. Have fun.
And finally this week, ONJava.com hosts the last in a series of book excerpts on getting started with JXTA from O'Reilly's "JXTA in a Nutshell." In this excerpt, learn about advertisements: structured XML documents for JXTA infrastructure.
To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).
To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to
Talk to you again next week.
O'Reilly Network Java Editor
This Week's Featured Articles
Teaching Java the Extreme Way
In his second article on extreme teaching of object-oriented programming, Daniel H. Steinberg offers a new program for students and a test-first approach to programming and learning.
Self-Playing Movies with JMF
The Java Media Framework may not impress you as a client media player, but when you realize that you can deploy content without requiring a specific player on the user's machine, and that you can bundle the player and the media in a single download, it starts to look very interesting.
Getting Started with JXTA, Part 5
In part five in this series of book excerpts on getting started with JXTA from JXTA in a Nutshell, learn about advertisements: structured XML documents for JXTA infra- structure.
ONJava.com News and Weblogs
Looking back at Java from Mac OS X Conference
Looking back at the Java programming track from last week's O'Reilly Mac OS X Conference, you'll find the following including some with presentations.
The Best Java Debugger I've Ever Seen
Bil Lewis showed off his omniscient debugger at the Java SIG the other night. Even though it's not feature complete, it's amazingly nice. And very useful.
EJB Community Portal
This Enterprise JavaBeans Special Interest Group (EJB-SIG) site is dedicated to EJB/J2EE related news and know-how in general.
PeekAndPick: Mobile Content Services using RSS & J2ME.
In his content syndication weblog, Ben Hammersley points out a nifty mobile application named PeekAndPick that he's begun using on his new Java enabled phone.
Meerkat Java News
For more Java news, check out O'Reilly Network's Meerkat service on the ONJava.com home page or go to oreillynet.com/meerkat and select Java as subject.
Other O'Reilly Network sites
Return to list of ONJava Newsletters.
Return to the ONJava.com.