Posted by editor
on June 14, 2005 at 8:15 AM PDT
A naming convention you won't soon forget ...also
Feature Article: PolePosition
Weblogs: Java deployment ehnancements, multi-tasking JVM, and JAXP 1.4
Also in Java Today: JAX-RPC "Bad, Bad, Bad"? and wondering if open-source "community" still exists
Projects and Communities: JXTA joins the Army and Jini's new licensing model
Forum posts: System tray icons and anti-aliased text
A naming convention you won't soon forget
Overly generic names are a hazard for programmers. J2SE 5.0 already has multiple
Documents, and it doesn't take much to overload such common terms as
Component. In a java.net Forums message , user
zixle, discussing Mustang's table sorting API, notes that "We are rapidly running out of non-overloaded names in the JDK. From one perspective RowSorter has a model, that is called Model."
You can, of course, go the other way. Today's feature article discusses a database benchmarking framework called "PolePosition", that takes its naming conventions to an extreme, and arguably past it. A series of tests is a "circuit" (sometimes also caled a "racecourse"), each test is a "lap", and the code to execute calls to a database or other persistence system is, of course, a "driver". Thus, you run the drivers through a set number of laps on the circuit to determine the winner. You can almost hear the TV announcer calling out "db4o goes inside, he's trying to get around Hibernate on the turn!"
You can say this for Pole Position: nobody's going to confuse it with an XML parser anytime soon.
In our Featured Article , An Open Source Database Benchmark , Rick Grehan takes a look at PolePosition , which describes itself as "a benchmark test suite to compare database engines and object-relational mapping technology." He writes: "the impetus behind PolePosition came from the observation that developers evaluating candidate databases for future applications often resorted to constructing ad hoc benchmarks rather than using "canned" benchmark tests (or relying on vendor-provided data). This is entirely understandable; to properly evaluate a database for a specific project, you would want to exercise that database in ways that correspond to the application's use of it."
Upcoming Mustang improvements are front and center in today's Weblogs . Stanley Ho writes about
Security and networking enhancements in Java Deployment : Most of the enhancements are already integrated into Mustang... the remaining enhancements will be available in a Mustang snapshot in a few weeks.
Grzegorz Czajkowski writes about
">Releasing the Multi-Tasking Virtual Machine :
The actual technology has proven relatively easy to implement and the original release was planned for early 2005. Well, so much for the plans. A whole bunch of items crept in, all the way from legal issues to handling large code releases on java.net
Eduardo Pelegri-Llopart announces JAXP 1.4 at Java.Net :
The CVS repository for the JAXP 1.4 Reference Implementation just went live at Java.Net in the JWSDP community. One of the nice things of this JAXP 1.4 implementation is that it provides a ready-to-use package that combines the StAX implementation with SAX and DOM implementations and all the benefits of JAXP 1.3 (like validation).
In Also in
Java Today ,
author and analyst Richard Monson-Haefel has some serious second thoughts about JAX-RPC. In fact, his latest blog entry is entitled JAX-RPC is Bad, Bad, Bad! He continues: "There I've said it. It wasn't as painful as I thought it would be to admit that the subject of my last book, J2EE Web Services , is a terribly flawed piece of technology. I'm glad I wrote that book, I think it has helped a lot of people understand a very, very complex Java technology (i.e. JAX-RPC), but I'm sorry that JAX-RPC and the rest of the J2EE Web services stack became the standard for Java web services."
Matt Asay, of Novell's Open Source Review Board, has written a NewsForge opinion piece in which he asks Does 'community' still exist in open source? Noting that many of the gear-heads and hackers that used to represent open-source have been hired by corporations interested in OSS, he writes "in our rush to commercialize Linux and other open source projects, we tend to cloud the community aspect, which obviates many of the benefits vendors (and customers) derive from open source in the first place. Word-of-mouth marketing, supra-corporate QA testing, etc. These benefits disappear when community is trampled in the rush to commercialize open source."
In Projects and
Jini technology has a new licensing model, with recent specifications and implementations (like the Jini Technology Starter Kit 2.0.2 ) licensed under the Apache License v. 2.0. In Sun opens the Jini Licensing Model , Bill Venners discusses this change with Jini team members Jim Hurley (also a community contact for the java.net Jini Community ) and Bob Scheifler.
An interesting success story from the JXTA Community : Boeing has decided to use JXTA as part of of its Future Combat System (FCS) for the U.S. Army . A Boeing VP was quoted as saying that "JXTA technology ensures that services registered can be found quickly and efficiently." FCS is a networked "system of systems" the Army hopes will increase its agility and reduce logistics needs.
In today's Forums ,
bino_george shows off another Mustang feature in Re: Able to show balloons from system tray icon? :
"All you have to do is call
trayIcon.displayMessage("Caption", "This is an example of Notifications", type); where type is one of:
TrayIcon.MessageType.ERROR (an error message),
TrayIcon.MessageType.INFO (an information message)
TrayIcon.MessageType.NONE (simple message), or
TrayIcon.MessageType.WARNING (a warning message). Check out the javadoc . You can try it out with b38 and above."
shares Two reasons why AA text doesn't work
"When I first ran my home-grown editor app under Mustang-b40, neither the textarea nor the line-number gutter was displaying AA text (although they work fine under Tiger with the "swing.aatext" property set). I finally figured out what the problems were, and thought I'd share what I learned."
In today's java.net
News Headlines :
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
form . All submissions go through an editorial review before being
posted to the site. You can also subscribe to the
href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
Current and upcoming Java
- June 16-18, 2005 JustJava2005
- June 20 - 21, 2005 Pragmatic Studio
- June 24 - 26, 2005 Central Florida Software Symposium
- June 25, 2005 JXTA Town Hall Meeting at JavaOne
- June 27 - June 30, 2005 JavaOne Conference
- July 8-10, 2005 New York Software Symposium 2005
- July 15-17, 2005 Central Iowa Software Symposium 2005
- July 19-20, 2005 Pragmatic Studio
- July 27-31, 2005 ADHOC 2005
- July 29-31, 2005 Desert Southwest Software Symposium 2005
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e"> events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed . Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the
A naming convention you won't soon forget