Newsletters   Subscriptions  Forums  Store   Career  Media Kit  About Us  Contact  Search   Home 
tfh
Volume 14, Number 27 -- July 11, 2005

Java Turns Ten, Still At Odds with .NET, Aloof
About PHP


by Timothy Prickett Morgan


As we were going to press with this issue of The Four Hundred just before the July 4th holiday in the United States, Sun Microsystems had finished up its 10th annual JavaOne summit for Java developers. A year ago, I was still complaining about Sun not opening up Java as an open source program and I was suggesting that Sun and Microsoft merge their Java and C# languages and JVM and CLR runtimes to create a unified programming environment.

Neither has happened, of course, but Sun is open sourcing whole chunks of its Java technology--not the Java language or its runtime environment, the Java Virtual Machine, however. Sun has made improvements to the Java Community Process, that quasi-open source body dominated by Sun that controls the development of Java. And, of course, Sun and Microsoft had settled their antitrust lawsuit concerning Java for $1.95 billion in April 2004, so to suggest last July that Sun and Microsoft figure out some way to better cooperate as Java and C# evolve seemed logical. And while Sun and Microsoft are working on ways to ensure interoperability between their respective Solaris and Java and Windows and C# platforms, no one at Sun or Microsoft has even hinted that the idea I have of merging the Java and C# platforms and creating a family of programming languages that runs in a unified runtime on all operating system platforms is not completely insane. By the way, developers and software vendors thought this was a very interesting idea last summer, which is why I bring it up again.

Here's another reason I am bringing it up. If Java and .NET don't get their act together, a lot of developers who don't want to cope with the complexity of either platform are going to do what I am doing: figuring out PHP, which is good enough for a lot of Web-based applications and has a wealth of open source content. If Sun and Microsoft think that Java and .NET are its main rivals, they have been up until now. But I am increasingly convinced that frustrated developers who just want to create relatively simple Web applications are going to play in PHP. With millions of people playing with PHP, and contributing to myriad open source projects relating to PHP-based applications as well as to the core PHP engine developed by Zend Technologies. (For a detailed overview on PHP and how it relates to the OS/400 platform, see PHP is Almost Certainly Coming to the iSeries from the April 4, 2005, issue of this newsletter.)

This spring, Zend reckoned there were about 18.5 million domains running PHP, and it is my guess that there are anywhere from many hundreds of thousands to several millions of people with some working knowledge of PHP and probably several hundreds of thousands to a few million programmers with hard-core PHP skills. More importantly, there is a wealth of blog, forums, content management, and other Web application software available under open source licenses written for PHP--many of which also have affordable commercial support options. ISVs may use and love Java, but there are not a lot of open source Java applications and code snippets out there. People code in Java and keep it. People code in .NET and keep it. That means the Java and .NET communities, as a whole, require programmers to recreate the wheel each time they sit down and create an application. While not all PHP is open source, there is a lot of open source PHP code, and it is relatively easy to grab a bunch of PHP snippets and weave together an application. What is not easy is getting PHP to be attractive and slick. A lot of open source PHP applications have the sexiness quotient of an early generation Web bulletin board.

I am beginning to think PHP might be as big of a threat to Java as .NET for all but the densest back-end application programming than either is to each other. It all depends on how PHP matures. PHP certainly is nowhere near as mature as Java or .NET, today, that's for sure. But look at how quickly Linux caught up to Unix and Windows. Open source and community development is a powerful thing. And that is Sun's message about Java and related technologies these days, too.

JavaOne 2005

Sun has been on a PR campaign in recent months, both before and after it took its Solaris Unix operating system open source a few weeks ago at OpenSolaris.org, to prove it is the most prolific supplier of corporately developed open source code in the IT industry. No one keeps tabs on this, so it is hard to argue, but given the BSD Unix heritage of Solaris plus the new OpenSolaris, the NSF file system, OpenOffice, Grid Engine, and lots of other things, Sun is probably not exaggerating these claims. But two key pieces of technology--the Java language and the JVM runtime--are still not open source. But Sun is getting closer.

At the JavaOne show in San Francisco two weeks ago, Sun did take its future Java Application Server 9.0 open source and will be relying on community development (dominated at first by Sun) for its future enhancement. According to Joe Keller, vice president of marketing for application and developer platforms at Sun, the company is not taking the whole Java Enterprise System middleware stack open source, and it isn't even taking all variants of the Java Application Server open source, for that matter. What Sun is taking open source is the Platform Edition of the application server program, which is the one targeted at Java developers, and which was created under a project called "GlassFish," notable because it is a translucent fish that you can see bones and guts through.

While the Platform Edition of the application server has the same kernel as the Standard Edition (which adds security, clustering, and multi-instance and multi-machine management features) and the Enterprise Edition (which adds load balancing and high-availability clustering features), Keller said Sun has no plans to open source the Standard Edition or Enterprise Edition of the application server. And while Sun has hinted that it might take the whole Java Enterprise System open source, Keller didn't give a strong impression that this was going to happen. "This is something we are looking at," he said, and that was about all Sun wants him to say about the subject.

The version of the Java Application Server that is being taken open source is Platform Edition 9.0, which is not yet a commercial product on Sun's site. Sun is currently shipping Java Application Server 8.1 Platform Edition 8.1 on Solaris 8, 9, and 10 on Sparc servers, Solaris 9 and 10 on X86 servers, Red Hat Linux 2.1 on X86 servers, and Microsoft Windows XP SP1 and Windows 2000 Advanced Server SP4. That Linux support is woefully out of date, and so is Windows on the server side. Sun has said Windows and HP-UX support was added to the Java Enterprise System suite, but its own Web site said neither are currently available for the Java Application Server Standard and Enterprise editions. The Platform Edition of the application server is, by the way, distributed free with Solaris 10, and Sun is working to get Platform Edition 9.0 into a future update of Solaris 10 as well. It is unclear if i5/OS, z/OS, or AIX will eventually be a supported platform for the Java Enterprise System. But with the Platform Edition of the application server being open source under Sun's Community Development and Distribution License (CDDL) license, you don't have to wait for IBM or Sun to get around to porting it to OS/400. You can do it yourself.

CDDL is the same license that the OpenSolaris variant of the new Solaris 10 Unix operating system was released under a few weeks ago. The CDDL is based on the Mozilla Public License (MPL), but it includes some things that other open source licenses do not. For instance, the CDDL allows the blending of open- and closed-source programs within the same solution; in open source lingo, CDDL is not viral, as is the GNU General Public License, which maintains that if you modify code or mix any code with a GPL program, the associated code, by default, is under the GPL license. Obviously, many people like this viral nature, and many people do not. The CDDL also has provisions that allow the full weight of the Solaris patent portfolio to stand behind the OpenSolaris community, a kind of provision that is lacking in Linux because it has not been patented and cross-licensed to death like Unix was for two decades. And being a CDDL program, Java Application Server Platform Edition 9.0 is really open--that means you can grab the source code, tweak it, and distribute it as your own product if you want. The only thing you can't do is brand it "Java," since that Java brand implies that you have licensed the Sun brand and tested your variant of the app server as compliant and compatible with the Java spec. "If you don't claim to be Java, you don't have to license or brand," explained Keller.

And lest there be any confusion, Keller was quite clear that the underlying Java language and the Java Virtual Machine that runs Java code such as the application server is definitely not being taken open source. Java and its JVMs will remain under the control of the Java Community Process and under its existing licensing terms, which are nowhere near as open or flexible as the CDDL. Keller said Sun has no plans to even think of moving Java to the CDDL. Sun now has 912 members participating in the Java Community Process. Sun does not, it appears, need something like the CDDL and the full open sourcing of Java to make it popular.


Then again, if Sun had created the CDDL for Java 10 years ago when Java was first introduced, there might have been a much larger usage of Java--and much more quickly, too. Hindsight is, of course, easy. Mapping out the future and keeping Java compatible in a world where many companies wanted to derail it was not easy. Sun reckons there is a $100 billion Java ecosystem, that there are about 708 million Java-enabled handsets, another 700 million Java-enabled PCs, and nearly 1 billion Java-enabled smart cards. There are 4.5 million Java programmers in the world. This is not exactly small potatoes, either, and John Loiacono, general manager of Sun's software business, said that the growth of all of these numbers is accelerating, which is not what many of Java's detractors claim.

Who knows if Sun will ever get around to moving Java and its JVM to the CDDL. It seems logical, and in his keynote presentation to the 15,000 JavaOne attendees and the 250,000 people watching from the Web, Sun's president and chief operating officer, Jonathan Schwartz, gave a strong hint that this could be possible. But, then again, when he talked about the Free and Open Source Software community (one cannot really call it a market, since there is no money), and specifically how the Java community related to the larger FOSS community--or more precisely, does not relate as well as it could--he focused on the word free, correctly pointing out that free distribution of Java runtimes and other free programs used in modern applications--Linux, Apache, Firefox, and so forth--has made these the most popular programs in the world. He did not focus on the word open, at least not until he got to talking about the open sourcing of the Java Application Server mentioned above. Then he said something very interesting.

"As far as I am concerned, there is no downside to free and open source software," he explained. "There is none at all. So what we are announcing today is that we are open sourcing Sun's server-side implementation of Java. Why? It is a participation thing. We want to get more folks involved. And you should in every way assume that this is the first of many steps. This is only one step forward as we continue to open source all of the software assets at Sun Microsystems, beginning with OpenOffice and some of the early technologies that connected computers together. We're going to continue to drive that. Why? Because it is good for business. It's also good for the world."

IBM Re-Ups Java Licensing Deal

"You may have noticed that we have had a chill in our relationship with IBM," Schwartz said in his JavaOne keynote, and then he went on to laud IBM's Java credentials. "IBM is every bit a founder of the Java community. They were with us, shoulder to shoulder, and we have been making strides to reach out to members of the community where our relationships have been strained. So we got together with IBM and said we have to send a clear message to the world that the Java community is vibrant, is open, is participative."

This is especially true in that IBM has been arguing for years that Java--meaning the language and the JVM--should be open sourced. Sun cannot afford acrimony in the Java community right now, but it clerarly has some. The Java Enterprise Service Bus integration layer for Java, which Sun was talking up at JavaOne, and the Java Business Integration specification, which was ratified by the JCP a month ago (with IBM and BEA Systems abstaining from the vote), was a bone of contention between IBM and Sun. Exactly what the bone was is unclear, but IBM wants a more open JCP and has a very large systems integration business to protect. Making Java apps easier to integrate is not necessarily going to help IBM's bottom line a lot.

Incidentally, Sun's implementation of the JBI 1.0 spec will be written in Java and the Java Management Extensions (JMXs) and released under the CDDL as well.

Whatever the problems are between IBM and Sun when it comes to Java, the two appear to be working it out. Steve Mills, the general manager of IBM's Software Group, was the IBM executive who argued a decade ago that Big Blue had to promote and participate in the development of Java, and he just renewed IBM's licensing contract to Java technologies and its commitment to the Java Community Process for the next 11 years. (IBM's current Java licensing deal doesn't run out until 2006, and IBM signed a 10-year extension.) The financial licensing terms of the deal were not detailed, but Sun also got something that it very much wanted: IBM will port its WebSphere middleware stack, DB2 database, Tivoli systems management, and Rational development tools to Sun's new Solaris 10 operating system both on Sparc and X64 iron. Schwartz has been badgering IBM in his blog to do this for some time.

I can't help but wonder if what IBM got out of the Java licensing deal is not only the ability to heavily steer the Java community, but also an agreement by Sun to not port its Java Enterprise Server middleware stack to IBM's operating system platforms. IBM has been in negotiations with Sun for the last year about the renewal of its Java agreement, and considering that IBM announced it a year ahead of time just so it could be one of the big PR events of this year's JavaOne show and that Sun is eager to show a unified front to the Java community between itself and IBM, it stands to reason that IBM must have got some pretty good financial terms on its Java licensing deal.

In a future issue of The Four Hundred, we will outline the JCP's plans for Java and how the iSeries team plans to implement the Java specs and code that gets developed through that community.


RELATED STORIES

Why Sun and Microsoft Should Merge Java and .NET

JavaOne 2003: What Are We Going to Do with Java?

PHP is Almost Certainly Coming to the iSeries

Sponsored By
ITERA

Researching High Availability Solutions?

View the contents of this valuable iSeries high availability resource portal that includes HA white papers, archived webinars, case studies and more.

Learn essential information about iSeries high availability before you implement this powerful business-continuity technology.

Click here for instant access.


Editor: Timothy Prickett Morgan
Contributing Editors: Dan Burger, Joe Hertvik, Shannon O'Donnell,
Victor Rozek, Kevin Vandever, Hesh Wiener, Alex Woodie
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.


THIS ISSUE
SPONSORED BY:

Aldon
iTera
BCD Int'l
Cosyn Software
Affirmative Computer


The Four Hundred

BACK ISSUES

TABLE OF
CONTENTS
Server Ecosystems: Take a Ride on a Slide

Java Turns Ten, Still At Odds with .NET, Aloof About PHP

iSeries ISVs Make Big Investments in Regulatory Compliance

As I See It: Declining Fortunes

But Wait There's More


The Linux Beacon
Top 500 Supers List Dominated By Exotic Clusters

HP Ships 10 Millionth ProLiant Server, 1 Millionth Linux Box

Netline Moves to U.S., Changes Name, Gears Up Groupware

Sun Takes Java App Server Open Source

The Windows Observer
AMD Sues Intel for Antitrust Violations

Microsoft Turns Up the Heat on Linux Over Patching

Microsoft Expands IP Indemnification to Partners

AMD Readies Socket 939 Opteron, Debuts Top-End Athlon 64

The Unix Guardian
AMD Sues Intel for Antitrust Violations

Sun Gets First Dibs on New Opterons for Entry Workstation

AMD Readies Socket 939 Opteron, Debuts Top-End Athlon 64

Sun Takes Java App Server Open Source


Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc. (formerly Midrange Server), 50 Park Terrace East, Suite 8F, New York, NY 10034
Privacy Statement