JavaOne & WWDC: A tale of two conferences

Jun 09, 2009 in Technology

Sun gathered the faithful last week in San Francisco and Apple is doing so this week.

I attended and participated in both conferences many times but am not at either this year for the first time in many years. “Withdrawal symptoms?”, a friend asked. No, surprisingly not. I didn’t miss the internal mayhem that is Sun’s preparation leading up to JavaOne. But now that WWDC is underway I do have the temptation to reflect a bit and share with you.

I attended WWDC the first time in 1989. I worked for KPMG Peat Marwick and so put on the business suit that Monday morning to register for the conference. I looked about the long line snaking to San Jose’s Convention Center seeing only jeans, shorts and t-shirts. I turned around, walked back to the hotel and changed. My ego has the fondest memories of the 1996 conference when the OpenDoc team included an OpenDoc component that I had written in their on-stage demo.

My first JavaOne conference was in 1997, just before joining Sun, watching Graham and Larry present JavaBeans. The next year I was on stage together with Graham doing JavaBeans demos. That was pretty cool too.

But I want to talk about this year’s conferences rather that those close to ancient past.

When you’re part of something it seems that the world at large evolves around it, pays rapt attention. Only when you’re on the outside do you see that the larger world may not be paying so much attention. Last week I did not see any mention of the JavaOne conference on news.com. On my Yahoo page where I track JAVA stock news a few Sun announcements came by but nothing that seemed very major. Larry Ellison was on stage but Yahoo only appeared to report that Oracle is (still) interested in netbooks. From arguably the industry’s most important software developer conference only a few years back JavaOne seems to have descended to the common ranks of all the many conferences that take place during the year.

Such a pity. As my neighbor Cort who works for IBM and I were chatting last week: such a missed opportunity. Such a shame that at Sun we never really figured out how to capitalize on having invented the most significant software technology of the last decade. We Javasofters should have Ferrari’s on our drive ways. I’ll take mine yellow, thank you. We were probably a little too nice to the industry and Sun competitors rather than focus on our own commercial success. From that perspective JavaFX is interesting but is there enough time left? It will be intriguing to watch what Oracle can do.

Leading up to WWDC’s opening keynote yesterday, news.com had various articles speculating about the conference and possible Apple announcements. News.com blogged live during the keynote as did several other news outlets. CNN HeadLineNews made brief mention of the conference. And Apple had a fair amount of news: updated laptops, Mac OS X news, new iPhone apps, new iPhone OS, new iPhone. Oh and the conference was sold out. It sold out in late April already. Looking at the breadth of the news, the size of the conference, this appears to be a company that’s ticking very well. And so it appears WWDC is inheriting JavaOne’s crown as the significant yearly developer conference.

The saying goes “execution is everything.” I do think that’s one of things that plagued Sun since 1995: picking and choosing from all the opportunities before it and sticking with any one of them long enough.

Which leads me back to JavaFX and Android for just a moment. The iPhone adoption numbers (eg its share of mobile web usage) that Phil Schiller released during the keynote were just very impressive. In contrast Sun announced its JavaFX app store last week but without the financial component, JavaFX is not pre-installed on phones by any carrier as far as I know. On the Android side, there still seems to be only the one T-Mobile G1 phone. Certainly I had expected Google with its market muscle to have had a much great impact on the market by now.

Execution.

JavaFX Talk for RJUG

Jan 15, 2009 in Technology

This Tuesday I presented on the JavaFX technology to the Rochester Java User Group. It was a lot of fun to do a technical presentation again – it’s been a long time since I spoke on technical stuff. Dave Cok of RIT brought his compiler class to the presentation. That was a little daunting – language theory is not my strongest side – but was very motivating as well.

I used my pet project to talk about how one might migrate a Java project to JavaFX and how to mix Java code and JavaFX code. I have been rewriting Bahamontes in JavaFX and named that project “Anquetil” to stay with the theme (this reminds me that should upload what I’ve been doing with Bahamontes since July ‘07). In order to get the Anquetil work in a state to fit my talk it was a mad scramble during the weekend and Monday. It also became a time scramble because I stared myself blind on two programming mistakes: situations where you know that it is something simple that you have done wrong in the code but you’re just not seeing it. I entertained the audience with them, and here they are for your delight as well.

The first code snippet (why do I get null pointer exceptions during runtime!?):

public class Mapping extends JPanel {
        public void Mapping() {
                myLayout();
                mapClient = new Exec();
        }

        private void myLayout() {
                setLayout(new BorderLayout());
                setPreferredSize(new Dimension(1000, 450));
                JLabel mapLabel = new JLabel();
                mapLabel.addMouseListener(
                        new MouseAdapter() {
                                public void mousePressed(MouseEvent evt){
                                        mapLabelMousePressed(evt);
                                }
                        });
                add(mapLabel, BorderLayout.CENTER);
        }
        private Exec mapClient;
}

And the second (why is the calendar component not showing on the screen in the way I want!?):

public class MyCalendar extends JXMonthView {
        public MyCalendar(final RideData parent) {
                datePicker = new JXMonthView();
                datePicker.setShowLeadingDates(true);
                datePicker.setShowTrailingDates(true);
                datePicker.setTraversable(true);
                addActionListener(
                        new java.awt.event.ActionListener() {
                        public void actionPerformed(ActionEvent evt) {
                                        parent.dateChanged(getSelectedDate());
                                }
                        });
                datePicker.setFlaggedDates(parent.getFlaggedDates());
                datePicker.setSelectedDate(
                        new Date(parent.getFlaggedDates()[0]));
                datePicker.commitSelection();
        }
        private JXMonthView datePicker;
}

Anyways, onto JavaFX. Sun released version 1 of JavaFX on December 4. The technology makes it much easier to create media-rich applications that run on desktops, laptops, in browsers, on cell phones, settop boxes, Bluray players and so forth. With the new plug-in in Java SE 6U10 applets are much more powerful, can interact with JavaScript and with CSS stylesheets, and you can drag them out of the browser.

The part of my own talk that I enjoyed the most was discussing the JavaFX Script language. It has a number of features that enable you to write very efficient code such as “bind”, “on replace” and the operations you can do on sequences. The language has a concept of time (it knows what seconds, milliseconds, minutes and so on are), transformations, interpolations making it very easy to do animations. We examined the source code of some of the samples that come with Netbeans 6.5 and did things like “what happens if you remove ‘bind’ from that statement?”

References:
– The JavaFX website: http://javafx.com
– Get Netbeans 6.5 with the JavaFX SDK: http://netbeans.org
– The new plug-in: http://java.com
– Language tutorial: http://java.sun.com/javafx/1/tutorials/core/
– API reference: http://java.sun.com/javafx/1/docs/api/
– Josh Marinacci’s blog: http://weblogs.java.net/blog/joshy/

stretch mark removal products
Спорт-как способ похудеть ссылка сайт кремлёвской диеты женские сайты диеты как быстро похудеть и накочать мускулы как можно быстро похудеть без проблем рисовая диета для похудения как быстро похудеть, рецепты похудения как похудеть быстро без дееты за 14 дней срочно похудеть с помошью салона красоты в казани как быстро похудеть народные рецепты как похудеть быстро и не мучить себя голодом диеты для снижения веса сайт девчат быстро похудеть на 30 килограмм срочно похудеть на 5 кг. за 10 дней алан кар легкий способ похудеть скачать бесплатно как быстро и безвредно похудеть? как похудеть быстро за месяц 10кг спомощю воды диетхудеем быстро без с упражнениями отзывы средства для похудения хочу быстро легко похудеть быстрый способ похудеть aллен кaрр срочно похудеть за три дня три колограмма быстро похудеть без лекарств худеем быстро после родов ка быстро похудеть делая клизмы сайт диета доктора аткинса легкий способ похудеть от алена карра диета для похудения из куриного мяса танец живота как способ похудеть индивидуальная диета тест худоба ру легкий способ похудеть