{"id":2063,"date":"2009-06-12T16:47:14","date_gmt":"2009-06-12T16:47:14","guid":{"rendered":"http:\/\/www.redmonk.com\/jgovernor\/?p=2063"},"modified":"2009-06-12T16:47:14","modified_gmt":"2009-06-12T16:47:14","slug":"from-javaone-to-java-20-java-is-dead-long-live-java","status":"publish","type":"post","link":"https:\/\/redmonk.com\/jgovernor\/from-javaone-to-java-20-java-is-dead-long-live-java\/","title":{"rendered":"From JavaOne to Java 2.0: Java is Dead, Long Live Java"},"content":{"rendered":"<p>Last week was JavaOne. Perhaps the last one ever &#8211; its all up to Larry Ellison, Oracle\u00a0 CEO now, bar the shouting. Whatever decisions Oracle makes with respect to Java, you can rest assured that JavaOne will be a very different event. It certainly will be for us &#8211; Sun has been a valued patron of RedMonk and its model over the years, and JavaOne was always a key event in the ongoing conversation.<\/p>\n<p>JavaOne is one of RedMonk&#8217;s favourite events. We all like it. Not least because our RedMonk unconference at CommunityOne in 2007 is still fondly remembered by some of the world&#8217;s top developers: people like <a href=\"http:\/\/blog.headius.com\/\">Charles Nutter<\/a> (<a href=\"http:\/\/jruby.codehaus.org\/\">JRuby<\/a>) and <a href=\"http:\/\/blog.lostlake.org\/\">David Pollak<\/a> (Scala LIFT). Why does these guys give us props? Because we were pushing the dynamic language agenda forward at a critical time. Sun has now been a <a href=\"http:\/\/www.redmonk.com\/jgovernor\/2007\/01\/04\/on-jon-udell-freedom-talent-management-and-the-new-patronage-economy\/\">patron<\/a> of dynamic languages on the JVM over the last few years, and RedMonk helped turn that dial. Sun hired people like <a href=\"http:\/\/www.bloglines.com\/blog\/ThomasEEnebo?id=19\">Thomas Enebo<\/a> and <a href=\"http:\/\/www.sauria.com\/blog\/\">Ted Leung<\/a> (Python) to make sure that the Java Virtual Machine was hot for dynamic languages. <a href=\"http:\/\/www.tbray.org\/ongoing\/\">Tim Bray<\/a> was an officially-sanctioned agent provocateur, playing the role of loyal opposition, a grain of sand in the corporate oyster.<\/p>\n<p><strong>Beyond Java The Language<\/strong><\/p>\n<p>Sun&#8217;s moves into dynamic languages were a tacit admission that Java as a language was not the only game in town &#8211; which allowed invention to flourish. Netbeans support for dynamic languages was far ahead of Eclipse. Sun&#8217;s Glassfish application server was designed in the knowledge Java wasn&#8217;t the only language choice for a &#8220;java application server&#8221;.<\/p>\n<p><strong>Beyond Java The Runtime<\/strong><\/p>\n<p>Another aspect of Glassfish that has not been much remarked on is that the group behind the code made a very interesting decision. Rather than adopting the Sun and Java Community Process (JCP) sponsored JSR 277 specification for Java class modularity Glassfish went with OSGi. That is, even Sun&#8217;s products were &#8220;forking Java&#8221; by 2008. Instead the newly anointed standard for Java modularity was OSGi. If this all sounds deathly dull its actually pretty important when it comes to Java runtimes. OSGi allows you to build a <a href=\"http:\/\/www.redmonk.com\/jgovernor\/2008\/02\/05\/osgi-and-the-rise-of-the-stackless-stack-just-in-time\/\">stackless stack<\/a>, where modules of Java classes are loaded\u00a0on demand.<\/p>\n<blockquote><p>&#8220;There is no need to load the entire Java stack to run an application &#8211; just the runtime services it actually requires. OSGi therefore enables a more dynamic, less constricted Java.&#8221;<\/p><\/blockquote>\n<p>The JCP basically lost this war, and now OSGi is supported by every major app server vendor. It is also the key technology used by all of the <a href=\"http:\/\/www.eweek.com\/c\/a\/Application-Development\/OSGi-Takes-Off-Among-Enterprise-Service-Bus-Providers\/\">enterprise service bus (ESB) players<\/a>.<\/p>\n<p><strong>Beyond the Java IDE<\/strong><\/p>\n<p>One of the most enthusiastic backers of OSGi has been the <a href=\"http:\/\/www.eclipse.org\/\">Eclipse Foundation<\/a>, which successfully wrenched control of great swathes of land from Sun in an earlier putsch. IBM led the initial Eclipse uprising in 2001, but without popular support it would have been nothing. Eclipse became how tools integration is done. Implementation beat specification. Now Eclipse is, quite simply, how Java tools are built. Eclipse today though goes far beyond IDEs, and OSGi underpins its runtime ambitions. If you&#8217;re a Java person and haven&#8217;t heard of <a href=\"http:\/\/www.eclipse.org\/equinox\/\">Equinox<\/a> yet&#8230; you will.<\/p>\n<p><strong>A Jetty for Web Apps<\/strong><\/p>\n<p>Talking of Eclipse, something I noticed last week is that Jetty, which recently became an Eclipse project, is popping up in some unexpectedly cool places. <a href=\"http:\/\/www.mortbay.org\/jetty\/\">Jetty<\/a> is the new smallness, and therefore the new hotness- the most embeddable app server of the moment. Less cludge means more productivity. Focus on the app not shaving the yak.<\/p>\n<p><a href=\"http:\/\/github.com\/\">GitHub<\/a> is a popular  Software as a Service platform for distributed source code management. It is where the Ruby On Rails community lives. You want find libraries for building web apps? These days Ruby is the first language to check. GitHub is the first place. Last week came the announce of <a href=\"http:\/\/github.com\/blog\/441-announcing-github-fi\">GitHub:FI<\/a>, a behind the firewall version of the hosted platfrom- it&#8217;s based on JRuby running on Jetty. It is also used in the Yahoo Hadoop Cluster.<\/p>\n<p>Meanwhile Java is evidently hot at Google, not something you would have bet on.<\/p>\n<p><strong>Java Syntax Not Dead Shocker<\/strong><\/p>\n<p>Google&#8217;s Android mobile platform SDK- is effectively a forked implementation of the Java 2 Mobile Edition spec. But Google doesn&#8217;t call it Java, so apparently it has no legal exposure. Stefano <a href=\"http:\/\/www.betaversion.org\/~stefano\/linotype\/news\/110\/\">explains<\/a>:<\/p>\n<blockquote><p>Android uses the <strong>syntax<\/strong> of the Java platform (the Java \u201clanguage\u201d, if you wish, which is enough to make java programmers feel at home and IDEs to support the editing smoothly) and the java SE class library but not the Java bytecode or the Java virtual machine to execute it on the phone (and, note, Android\u2019s implementation of the Java SE class library is, indeed, Apache Harmony\u2019s!) The trick is that Google doesn\u2019t claim that Android is a Java platform, although it can run some programs written with the Java language and against some derived version of the Java class library.<\/p><\/blockquote>\n<p>Google App Engine Java Services &#8211; run on Jetty<\/p>\n<p>Google Widget Toolkit &#8211; are being ported to Jetty<\/p>\n<p>What all this amounts to is that Google is now a serious player in Java. But its evidently not a big fan of the JCP. Could we see a future lawsuit brought by Oracle against Google? I don&#8217;t think its beyond the realms of possibility. What&#8217;s old is new again. As has been pointed out, Eric Schmidt, now Google Chairman, was the guy that signed the original Java licensing deal with Microsoft before things went sour&#8230; what goes around may come around.<\/p>\n<p><strong>And Then There Were Three<\/strong><\/p>\n<p>It seems to me the future of Java could be fought out between IBM, Oracle and Google. There are some obvious wildcards- <a href=\"http:\/\/www.springsource.com\/\">SpringSource<\/a> has arguably been the most important player in Enterprise Java apis for the last couple of years &#8211; the strapline says it all Eliminating Enterprise Java Complexity. IBM, Oracle, BEA all now support the Spring Framework. SpringSource CEO Rod Johnson will definitely have a say in the future of Java. As will Red Hat.<\/p>\n<p>But IBM and Oracle are the leviathans, the companies making serious money from Java. They have the most to lose and the most to gain. While Google- has developer mindshare like noone else right now. The new JavaOne- that&#8217;s looking like <a href=\"http:\/\/code.google.com\/events\/io\/\">Google I\/O<\/a>.<\/p>\n<p><a href=\"http:\/\/\">Java isn&#8217;t dead<\/a> though, any more than SOA is.<\/p>\n<p>I started this post on a Friday afternoon &#8211; always risk for any project. Chances are it will need some cleaning up on Monday morning. But I wanted to give you, dear reader, something to sink your teeth into.<\/p>\n<p>Pretty much every organisation mentioned in this piece except Google is a RedMonk client.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week was JavaOne. Perhaps the last one ever &#8211; its all up to Larry Ellison, Oracle\u00a0 CEO now, bar the shouting. Whatever decisions Oracle makes with respect to Java, you can rest assured that JavaOne will be a very different event. It certainly will be for us &#8211; Sun has been a valued patron<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"class_list":["post-2063","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9wfjh-xh","_links":{"self":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts\/2063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/comments?post=2063"}],"version-history":[{"count":0,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts\/2063\/revisions"}],"wp:attachment":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/media?parent=2063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/categories?post=2063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/tags?post=2063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}