YOUR FEEDBACK
James Nelson wrote: Thanks for the posting, which we are hoping will solve our software issue with t...


2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


JavaOne - Day One Keynotes
Year after year, I expect the show to be a flop. This year is no exception. I am wrong again this year

Bill Roth's Blog

JavaOne never ceases to amaze me. Year after year, I expect the show to be a flop. This year is no exception. I am wrong again this year. In my cab ride from my hotel in the Theatre District, I can see hundreds of attendees (obviously developers) trekking their way through the Tenderloin, across Market and Mission to Moscone.  With their wheeled-backpacks in tow, the mirthless programmers, mostly male, trudge toward the 12th JavaOne.

John Gage

As always, the sonorous John Gage started out by introducing the conference, and talking about the 81 hours of JavaOne. Gage started out by quoting some press coverage from John Markoff of the NY Times, and seems to presage a open source announcement around phones. John Cage started waving a phone around talking about what would happen when you open source a phone. He also recalled a speech by Robert Kennedy, Jr. at an environment conference over the weekend. And it would not be a JavaOne without the obligatory reference to the excitable Brazilian programmers.

Gage mentioned last year that JavaOne would trying to me carbon-neutral. He talked about their process in figuring out the price of offsetting the price of energy use. In Europe, the cost of a ton of carbon is about $3.50. Gage's theory after proper accounting, this price is off by an order of magnitude, and promised to have a update for next year. I can't help wondering what this has to do with Java and coding. While I understand the need to juxtapose Java with something cool, like the environment.

Rich Green

After a brief video, Sun software head (and returnee) Rich Green came out. Green, with a voice like The Newshour's Roger Rosenblatt,  started out with a discussion of communities, in front of a banner which says "The Network is an unstoppable Force." He then gave the obligatory numbers slide:

  • 6M Java developers
  • 5.5B Java devices
  • 2.5M Glassfish downloads
  • 800M desktops
  • 1.8B phones
  • 11M televisions

He also mentioned that Oracle announced JEE 5 compatibility, but if you read closely, this is only a tech preview. BEA has been shipping a commercial version since March of this year.

Martin Harriman, VP from Ericsson came on stage. He announced Ericsson will open source their IMS technology to drive IMS adoption. Not clear if its IMS on the client or server. Then Sun announced the Sun Java Multimedia Application Server, which appears to be Glassfish with SIP and IMS. Green then continued to talk about Real Time Java, which sounds a lot like WebLogic Realtime, which BEA announced in September 2005.

The CIO of NASDAQ Anna Ewing, then came on stage. She mentioned that NASDAQ runs its trading systems on Java. She mentioned their peak transaction load is 150,000 transactions per second. She mentioned in February they had a 5 billion share day, all on Java, and that they are working with Sun in the next generation trading system.

Green then moved to the digital entertainment section of his presentation. He mentioned that Java is in all blu-ray devices. He invited Tom Hallman from Sony's Digital Authorization Center on stage to talk about Bluray. The Bluray spec, BDJ, has Java written into the spec. Hallman then showed a demo of the Bluray disk for the movie Open Season. The key thing is that with Java, the graphics can now be random, as opposed to pre-programmed in the current level of technologies.

Green then dove into the portion of his talk where he conflates with Java with Netbeans. This is the annual section of Sun's keynote where they use their monopoly on Java to fool developers into using their IDE which is build as part of their astro-turf community, netbeans.org. (And yes, I have strong options about this because of my involvement of Eclipse, and BEA Workshop.)

He then announced the completion of the open sourcing of OpenJDK, and the introduction of the interim Governing Board. The also announced that Sun will make the Compatibility Kit available to the community. He did NOT way the TCK would be open sourced. He mentioned that it was still under GPLv2, and that Java and NetBeans will be distributed with Ubuntu.

He then mentioned that they would be doing releases in Spring Summer and Fall to make it faster. Faster to download, and faster to run.

He thing annouced JavaFX and JavaFX script for consumers. Visually-rich, and consumer oriented, based on Java SE (and, he also said sotto voce, forthcoming languages), which runs out to be JavaFX script. My first question is: "Do we need another scripting language?" My second question is "Do we need another Flex?" In order to reinforce the importance of the importance, he brought up James Gosling, the father of Java. His point was that JavaFX was all about building rich-dynamic applications. They then bought up Chris Oliver the developer of JavaFX to show a demo of scripted Java2D. This appear to be their run at going after Flex and Microsft Silverlight.

Green then annouced JavaFX Mobile, which appears to be a Flex Mobile competitor, and then showed a phone. The phone he showed looked remarkably like the iPhone. A Yahoo exec came up and talked about Yahoo Go.

Dr. Djibril Diallo  and Curriki

Jonathan Schwartz, Sun CEO, then came up to congratulate Green on the annoucements. He brought up Dr. Djibril Diallo from the United Nations, who is director of the program for Sports for Development and Peace. Dr. Diallo then gave an impassioned speech about feeding the 1.5B people who go to bed hungry, and what he called Gender Apartheid, saying "No country trats its women as well as its men."

Scott McNealy came on stage to talk about Curriki, which is a source of curriculum on a Wiki. Its an educational non-profit.

During the closing, Gosling mentioned BlueJ.org, which has an ide for teaching kids how to program, and mentioned a web site mygames.java.sun.com.

About Bill Roth
Bill Roth is formerly the Vice President of the BEA Workshop Business Unit. Prior to this he was Chief Technical Evangelist for Epiphany. With over 21 years in this industry, he has played numerous product marketing, product management and engineering roles at companies like Sun and Morgan Stanley.

YOUR FEEDBACK
Java wrote: Refer below link for code http://photos.sys-con.com/story/res/45837/source.html
Doug Bell wrote: I meant to mention one other thing about the articles implementation that nobody else mentioned. The implementation and comment for the DynamicComparator.equals method illustrates confusion about the purpose of the method. As implemented, the equals method breaks all contracts for equals, including the Comparator contract. It would be better to have left the default implementation of equals rather than override it with a method that always returns true. The equals method is for comparing the DynamicComparator object to another object to see if two Comparators produce the same results. This would not be too difficult to properly implement by checking for equals between the method and sortAsc fields (and Comparator fields if my previous suggestion was implemented). One final comment is that the Collection should not be passed to the DynamicComparator constructor. It is only ne...
Doug Bell wrote: sMyles has the right idea about how to fix the DynamicComparator class. (Some of the other comments and code suggestions missed the mark in one or more areas.) Certainly, you''d rather not have to keep modifying the DynamicComparator class to add new algorithms--this is not the correct design for "encapsulation and responsibility assignment" that the article discusses. However, instead of sMyles suggestion for option 4, just overload sort() and the DynamicComparator constructor to accept a Comparator for comparing any two fields that don''t implement Comparable. This will also allow fields that do implement Comparable, such as String, to use alternate compare algorithms, such as compareToIgnoreCase.
David Perelman-Hall wrote: /* This can be implemented in 3 very simple terms to capture anything that implements 1) Comparable or 2) Comparator or 3) is a primitive. I''ve rewritten the main function to see if the comparable objects retrieved by the "reflected method" implements one of these three concepts. Also stripped out the Serializable, because how likely are you to want to serialize a Comparator? And cut down on the class size by reducingnumber of methods by moving the getMethod and invoke methods back into the class itself. The idea guiding York''s original thinking is a wonderful idea. --Dave */ import java.lang.reflect.Method; import java.lang.reflect.InvocationTargetException; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.Comparator; import java.util.List; import java.util.ArrayList; public final class DynamicComparator i...
sMyles wrote: It is important to note that invoke() returns an Object, not a primitive. Therefore, no extra code is required to compare primitives, since invoke() would return an instance of its wrapper class. All primitive wrappers implement Comparable. Knowing this, compare() should do the following: 1. Cast the two return values to Comparable without checking, because if they''re not comparable, we can''t compare them anyway. This is the behavior of Collections.sort() when no Comparator is specified. (See Arrays.mergeSort()). Either that or use the logic described in the original method, by returning LESS_THAN. 2. Perform the null comparisons on val1 and val2 (without the introduction of val1Null and val2Null) and return the appropriate value * getSortOrder(), if applicable. 3. If it turns out neither return value is null, return val1.compareTo(val2) * getSortOrder() 4 (optional)....
Ceri wrote: Sorry, formatting seems to have been stripped from my previous message. Ceri
Ceri wrote: The compare method needs to handle primitive types separately. All non-primitives that implement comparable can be easily grouped together into a single if block (to replace the String handling section of Listing 3): Class[] interfaces = method.getReturnType().getInterfaces(); boolean implementsComparable = false; for (int i = 0; i < interfaces.length; i++) { if (interfaces[i].getName().equals("java.lang.Comparable")) { implementsComparable = true; break; } } if (implementsComparable) { Comparable f1 = (Comparable) invoke(method, o1); method = getMethod(o2); Comparable f2 = (Comparable) invoke(method, 02); if (f1 != null && f2 != null) { return f1.compareTo(f2) * getSortOrder(); } if (f1 == null && f2 != null) { return LESS_THAN * getSortOrder(); } if (f1 != null && f2 == null...
Mike wrote: York the method "public int compare(Object o1, Object o2)" is long and makes the class look cluddered(like it needs to be refactored), especially if more fields where added requiring more test to be implemented in this method. Wouldn''t separate class implementation for each sorting type help with this, but on second thought this would lead to class proliferation. Okay in the future, would sometype of generics in 1.5.0 work here for the comparing class in addition to the usage of reflection to stream line this code.
York wrote: Source code now available for download!
S Opoku-Boadu wrote: Cannot locate Listings 2 - 5
S Opoku-Boadu wrote: Cannot locate Listings 2 - 5
Trevor Leach wrote: The listings are not in the print version either. Perhaps we''ll get emailed when they are found?
D Polansky wrote: Where are listings 3, 4, and 5 referenced in the article?
LATEST JAVA STORIES & POSTS
Three-letter acronyms (TLAs) are hardly new in Information Technology: EAI, ESB, SOA, BPM, BAM, ETL, MDM; the list goes on and on. This article is about yet another three-letter acronym, EDA, which stands for Event-Driven Architecture. EDA is not a brand new technology, but rathe...
Furthering its dedication to providing Java developers productivity with choice, Oracle announced the Oracle Enterprise Pack for Eclipse, a new component of Oracle Fusion Middleware. This release marks the first free Eclipse 3.4 environment to support Oracle WebLogic Server 10g R...
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted...
Red Hat CTO Brian Stevens, Citrix CTO Simon Crosby, Egenera CTO Pete Manca, Allen Stewart, Group Manager, Windows Virtualization at Microsoft, and Brian Duckering, Sr. Director of Products and Alliances at Symantec were the top industry executives who joined Jeremy Geelan in the ...
Government intervention and direction has long been critical to the development of the computer industry. The Internet, after all, was derived from the ARPANET, developed in the early 1970s from a U.S. government-sponsored research project by the Advanced Research Projects Agency...
Commercial systems are developed with a huge range of performance requirements and we are concerned in this article with the small number of systems where absolute maximum performance is demanded either in terms of execution speed or available memory. We'll discuss the role of be...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS

SPONSORED BY INFRAGISTICS
There are many forces that influence technological evolution. After a decade of building enterprise ...
2008 is going to be an important year for Rich Internet Applications. Most organizations are deliver...
The OpenAjax Alliance is developing an Ajax industry wishlist for future browsers, using a dedicated...
In every field of design one of the first things students do is learn from the work of others. They ...
Infragistics announced the availability of two Community Technology Preview (CTP) User Interface (UI...
The YUI development team has released version 2.5.2; you can download the new release from SourceFor...
ADS BY GOOGLE
BREAKING JAVA NEWS

SpringSource, a leading provider of infrastructure software and the company behind ...