Linux.com

Feature: Java

Apache group takes a big step toward open source Java

By Chris Preimesberger on May 13, 2005 (8:00:00 AM)

Share    Print    Comments   

At least one version of Java code, Java 2 Standard Edition, may soon be set free of Sun Microsystems' notoriously complicated licensing. While Sun is apparently OK with it, some of its large, license-paying-through-the-nose customers won't be.

Almost 10 years to the day since Sun first introduced Java, the news comes that it may finally become open source code. Sun will deny it, but the move has been inevitable for some time. On Feb. 1, it was open source Solaris 10. Now it's J2SE, which will take a year or more to become available, if and when it gets past all the political hurdles. Next up: J2 Enterprise Edition? That will take a bit longer, although it does have three major J2EE F/OSS projects -- JBoss, Jonas, and Geronimo -- all committed to compatibility with the JCP's specs and all with good relationships with Sun.

A group of 12 Apache developers have put together a proposal called Harmony. The proposal appeared as a simple project call last Friday on an Apache incubator mailing list. It would make this new, built-from-the-ground-up version of Java available under the Apache 2.0 free software license. And it's causing quite a stir in the Java community, especially since respected Sun frontmen Tim Bray, Simon Phipps, and Graham Hamilton have given the project their blessing. As yet there has been no reaction from Dr. Java, James Gosling himself, who is in Brazil talking to developers.

'Next step in Apache's work around Java'?

Hamilton, who has become one of the new "media faces" of Sun in recent months, posted this in his blog on Saturday: "In many ways launching a J2SE project is the obvious next step in Apache's work around Java. Personally, I am very curious about how the Harmony project will work out -- creating a full scale implementation of J2SE is a mammoth task, as the Sun J2SE team knows only too well. However I wish Apache success and we'll certainly be tracking this as it develops."

Phipps' response: "Things like this (and the new openness of the v6 -- Mustang -- work) renew my confidence in the promise of the Java community ... This is just the sort of responsible, community-led evolution that the JCP rules were changed to facilitate."

In a FAQ on the Apache site, Harmony project leader Geir Magnusson Jr. wrote: "We believe that there is broad community interest in coming together to create and use an open source, compatible implementation of J2SE 5, the latest version of the Java 2 Standard Edition specification. While the Java Community Process has allowed open source implementations of JSRs for a few years now, Java 5 is the first of the J2SE specs that we are able to do due to licensing reasons."

Could this lead to a fragmentation of the Java community? Magnusson said he doesn't think so. "Our intent is to bring people together, let us share what we know, solve common problems, and collaborate on things where we can," he wrote. "A diverse Java community is a healthy Java community. Multiple implementations of the Java specifications show the value of Java -- that we do have a specification, that anyone is free to make a compatible implementation, and that users of Java have the opportunity to run their Java code in more places, on more platforms. This is the central promise of Java, and we think that our efforts support this."

Brian Behlendorf, director of the Apache Software Foundation, told ITMJ via email that he's not personally involved in Harmony, "aside from being a fan of the idea, following passively, and talking with others outside Apache about it."

Asked if he thinks Harmony could eventually offset Sun's own "clean-room" J2SE in the marketplace, Behlendorf said: "This is a long-term project, and yet to be decided are how it would work with the other existing open source efforts in the J2SE space, as well as whether there are existing codebases that could bootstrap the effort. While even the goals of the project are still up for discussion, no one is interested in this being a purely academic exercise. The implicit assumption is that we're working towards a J2SE implementation that one day we would run our own applications upon in a production setting. Whether it becomes the preferred Java platform remains to be seen, of course."

Asked if this project might finally be the answer to Java developers' prayers of freedom from lock-in, Behlendorf said: "One answer to this question is that Java has not been 'locked in' for a while now -- there are many vibrant and legal open source implementations of different parts of J2SE, from Kaffe to Classpath to Jikes and GCJ. As with Geronimo, we seek to prove to Sun and the rest of the Java community that open source is not antithetical to the concept of adhering to standards, so we will be seeking certification by passing the J2SE TCK when it's ready.

"Sun has long held to the premise that as Java technologies evolve (both specific projects and the Java effort as a whole) there's a gradual handoff of responsibility and authority to the community. We definitely think Harmony can play a part in that."

Sun, a company in financial trouble for the last four years, made some inroads last year with the development community and with several market foes (namely, former sworn enemy Microsoft) in order to get back into the IT business race. Observers say Sun is beginning to learn how to use sales and manufacturing channels -- national and international -- much more effectively, and this also can be traced back to strategic moves (mostly personnel) it made last year.

Sun can't stop development of open source Java

But Sun needs more than that, and the company knows it. Because so much of its revenue is tied up in long-term licenses involving J2EE enterprise hardware and software, it knows that it can't come out and open the code just like that. There is simply too much to lose right off the top; too many potentially irate customers and too many already designated dollars. But if someone else were to attempt it ... someone respected, like, say, Apache ... well, hmmm. That's a thought.

Sun cannot control what the open source community wants to do. But open source Java appears to play into Sun's most pressing need right now: good will from the development community at large, so that the company has better chances to land server, software, and service sales. If this indeed comes to pass, and Java becomes open, Sun can put its hands up and claim legitimate innocence about how it happened. And the Java community will rejoice in victory.

Sun had already announced in March that it is loosening up the licensing requirements for J2SE anyway. This is the next logical step.

Share    Print    Comments   

Comments

on Apache group takes a big step toward open source Java

Note: Comments are owned by the poster. We are not responsible for their content.

Views of Miguel De Icaza on this

Posted by: Rohit on May 14, 2005 03:30 AM
He had some views on this a few days back on the mono blog <A HREF="http://primates.ximian.com/~miguel/archive/2005/May-11.html" title="ximian.com"> here</a ximian.com>

#

MS-SUN MS-JAVA MS-OOo MS-Solaris

Posted by: Anonymous Coward on May 14, 2005 08:30 AM
MS-JAVA will never be open source - Mr. Bill has his windows compatable Unix with MS-Solaris, and MS-Solaris will be more and more window compatable as the years go by. Microscoff needs a proprietary MS-JAVA, and that's that.

#

Re:MS-SUN MS-JAVA MS-OOo MS-Solaris -- Nonsense

Posted by: Anonymous Coward on May 14, 2005 09:16 PM
> MS-JAVA will never be open source...


Java is already Open Source.


There are Open Source Java implementations such as JBoss, and Kaffe.


And the Free Software Foundation has created another Open Source (more specifically, Free) Java in the GCJ.


Given their feelings about licensing, do you really think the FSF would have implementaed Java if the license didn't allow Free implementations, including the freedom to fork and redistribute the result?


> Mr. Bill has his windows compatable Unix with MS-Solaris...


First, Microsoft already has a Windows-compatible Unix, namely, Xandros Linux, which lists among its Top Ten Reasons to use Xandros:


"The ability to run Microsoft Office, Photoshop, Quicken, and Dreamweaver on your Xandros Desktop."


Second, the money Microsoft had to pay to settle Sun's lawsuit, while large, was still small compared to the cash Sun has in the bank. It was hardly enough for Sun to sell out its future.


Third, in order for Sun to become subservient to Microsoft, you would need to remove Scott McNealy, and his ego.


Fourth, I see no lessening of competition between Sun and Microsoft. Sun continues to support Mozilla, Apache, Linux/Gnome, and OpenOffice, all of which are eating into Microsoft's marketshare. And Sun's Java continues to be a roadblock to<nobr> <wbr></nobr>.Net acceptance in the market. Likewise, Microsoft is continuing their FUD war against Sun (I'd accuse you of being part of it, but your post is too inept to be paid astroturf).


The fact is that Sun won their lawsuit against Microsoft over Java. Sun was also in a position to cause trouble for<nobr> <wbr></nobr>.Net, given the various patents Sun holds on Java technologies. On the other side, Sun wanted access to information on Microsoft's networking protocols and file formats, so Sun servers could continue to talk to Windows clients, and Star/OpenOffice could continue to access MS Office documents.


Sun got the better part of the deal, but then, Sun had Microsoft over a barrel.


Of course, I take it as a given that Microsoft intends to renege on their deal sometime in the future. Microsoft is hoping that, in a few years,<nobr> <wbr></nobr>.Net will have given them so much control over the Internet, that they will be able to threaten to break the deal, in order to squeeze concessions out of Sun.


Sun, on the other hand, fully expects Microsoft to try that, but Sun believes that Star/OpenOffice, Linux, Open Solaris, and Java will be so strong that they will no longer need anything from Microsoft.


I'm betting on Sun's side, i.e. that Linux, Mozilla, OpenOffice, Java, and so on, will weaken Microsoft to the point where they can no longer threaten anybody, and are forced to compete like everybody else.


> Microscoff needs a proprietary MS-JAVA, and that's that.


Microsoft already had a proprietary Java, in the form of J++. They lost it because they cheated.


Microsoft also paid Kaffe to add J++ extensions, at one time, though it didn't do them any good. Regardless, Microsoft can have an Open Source Java bundled with Windows any time they choose, just by giving the PC vendors permission to do it.


And Microsoft has created their own Java in<nobr> <wbr></nobr>.Net and C#.


In short, your statement makes no sense.

#

Free? Just like Apache 2 is NOT

Posted by: Anonymous Coward on May 14, 2005 10:00 AM
It would make this new, built-from-the-ground-up version of Java available under the Apache 2.0 free software license.



When Apache is back under the 1.x type licence it will be reasonably free (ego-free). Meanwhile producing a Java clone with an A2 licence will help fuel the egos of those who imposed that licence on a once proudly free project.

#

Re:Free? Just like Apache 2 is NOT

Posted by: Anonymous Coward on May 14, 2005 09:25 PM
The FSF has declared the Apache license to be a Free license. I think they know more about it than you do.

Even so, the Apache license definitely qualifies as an Open Source license, which means you are free from vendor lock-in, free to fork the code and distribute the result, and so on.

But maybe you're worried that the Apache license is going to limit the acceptance of their Open Source Java implementation. What's the matter? Is Apache's 70 percent marketshare not good enough for you?

#

Re:Free? Just like Apache 2 is NOT

Posted by: Anonymous Coward on May 15, 2005 09:57 AM
FSF is rather free at times in its definition of Free (as in licence) including this case as well as others with restrictive terms.



ASF isn't too sure itself about GPL compatibility:
"The result is a license that is supposed to be compatible with other open source licenses while remaining true to the original goals of the Apache Group and supportive of collaborative development across both nonprofit and commercial organizations. The Apache Software Foundation is still trying to determine if this version of the Apache License is compatible with the GPL." (Apache.org website)



As to the "market share" of "70%" do you think that every copy of Apache/Apache derivatives running is under ASF 2.x licencing? They are not and all of the figures are necessarily wafty anyway. There are no hard data to support your claim but I do know that there are lots of 1.3.x and derivatives out there on the previous simple and free-er licence.


Whenever masses of text are added to an existing licence it is NOT adding freedom. It always reduces it.

#

Re:Free? Just like Apache 2 is NOT

Posted by: Anonymous Coward on May 15, 2005 06:22 PM
"FSF is rather free at times in its definition of Free (as in licence)"

You're kidding me, right?

Adding text can also be to be more precise, not to restrict freedom per se. Go read the four freedoms of free software, go read the apache license, and tell me how it restricts those four freedoms. Good luck.

GPL compatibility is NOT a requirement of freedom. I think you might want to get some more knowledge about licensing issues before claiming a license widely considered as free isn't.

#

Re:Free? Just like Apache 2 is NOT

Posted by: Anonymous Coward on May 15, 2005 08:10 PM
The Apache version 2 license is considered to be GPL incompatible. The reason: "This is a free software license but it is incompatible with the GPL. The Apache Software License is incompatible with the GPL because it has a specific requirement that is not in the GPL: it has certain patent termination cases that the GPL does not require." Also Open Source is not always Free Software, such as Sun's Open Source license. Using the GPL is definitely Free Software.

#

Re:Free? Just like Apache 2 is NOT

Posted by: Daniel Carrera on May 16, 2005 09:22 AM
But once again, GPL compatibility is not a requirement for freedom.

A lot of free licenses are not GPL compatible. For example, the Mozilla Public License, Python's early license, and the BSD with attribution.

Cheers,
Daniel

#

A Pure Java.

Posted by: Anonymous Coward on May 14, 2005 11:35 AM
"Sun had already announced in March that it is loosening up the licensing requirements for J2SE anyway. This is the next logical step."

Well that's nice, but it seems that the "lockin" which got argued over on the OO thread. Is being unable to fork any time you don't like what so and so has done. A favoured tactic in OSS. Plus not being able to call your fork "Java". The licenses don't have anything to worry about, because they're buying more than just a language. But as MS demonstrated. A language backed by consistency, enforced by a legal structure. Something OSS doesn't have.

#

Re:A Pure Java.

Posted by: Anonymous Coward on May 14, 2005 10:02 PM
> Well that's nice, but it seems that the "lockin" which got argued over on the OO thread...


The so-called "lock-in" that was discussed was a concern that the OpenOffice developers might accidentally use Java features that were available in Sun's Java implementation, which had not yet been implemented in an Open Source Java, such as GCJ.


It turned out, of course, that the whole thing was a panic over nothing, as the OpenOffice developers were already taking steps to ensure that any Java used in OpenOffice would also work with GCJ.


><nobr> <wbr></nobr>...Is being unable to fork any time you don't like what so and so has done.


Which is not the case here. All OpenOffice code, including any Java, is available under the LGPL license, and is thus forkable.


Likewise, Java, the language, is forkable. GCJ, JBoss, Chai, and so on, are all forks, to greater or lesser degrees, of the Java language.


The only thing that is not forkable is the source code for Sun's _implementation_ of Java. And, as I said, work was already underway to ensure that OpenOffice was not dependent on using Sun's Java implementation.


> A favoured tactic in OSS.


I wouldn't say that. In fact, lock-in goes against OSS, both in philosophy and in practice.


Now there are some companies that use Open Source, or even Free software as a cover, while locking-in commercial (non-GPL) developers with a proprietary license. One example would be Trolltech, which releases Qt under both a GPL and a proprietary license.


> Plus not being able to call your fork "Java".


Big deal! JBoss is a somewhat-incompatible fork, which prevents them from calling themselves Java, but that hasn't stop them from succeeding. Likewise, HP's Chai is a fork of Java.


Similarly, X.org couldn't call themselves XFree86, yet that did little to slow the transition. In fact, it helped to make it clear to people that a fork was occurring, and to highlight the reasons for that fork.


> The licenses don't have anything to worry about, because they're buying more than just a language.


Correct. The licensees are buying more than just a language. They are also buying Sun's certification.


But Sun's certification only has value as long as Sun is trusted as an authority on ensuring Java compatibility.


And that's one of the reasons for Microsoft's astroturf campaign against Sun and Java. Microsoft wants to weaken the trust in Sun, thus reducing the value of Java certifications, and cutting off one of Sun's sources of revenue. Microsoft also hopes to weaken support for Java, in order to give<nobr> <wbr></nobr>.Net a better chance of succeeding.


> But as MS demonstrated. A language backed by consistency, enforced by a legal structure. Something OSS doesn't have.


All of that is wrong, of course. But thank you for revealing whose side you're on.

#

Will be a -very- long-term project

Posted by: Anonymous Coward on May 15, 2005 04:17 AM
This project will be interesting to follow. Obviously 12 developers cannot generate a product of this magnitude. Their main task will be to cat-herd enough talented programmers ( >100,maybe? ) and assign them to the various areas of the Java platform. It will be fascinating to follow the management methods of what will be a very large project.


ishmal

#

Re:Will be a -very- long-term project

Posted by: Anonymous Coward on May 16, 2005 01:00 AM
IBM Just bought gluecode. The leader of the Apache Harmony project is a VP at gluecode. IBM has been hinting about releasing an opensource JVM+classlib for a while now. I think you might be surprised how quickly this all comes together...

#

I don't get it

Posted by: Rocky on May 15, 2005 11:17 AM
I just don't get it - where is the supposed high cost? I can go to Sun and download it for free - can't say as I see where I have to purchase anything, send money or obtain a license fee or anything else....

Granted the license isn't Open Source - but from what I see there is no reason to deride them for charging for something that they are not unless I'm missing something.

#

Re:I don't get it

Posted by: Anonymous Coward on May 15, 2005 01:23 PM
You are missing something. Namely, Sun is more interested in adding "features" than in fixing bugs. Just go and read up about bugs in Sun's implementation of it's JVM and you could see that Sun has not fixed a lot of bugs (which have been around a long time). This includes the memory leak bugs... which are serious enough to cause crashes.

Therefore, a clean room implementation without those serious (crashes etc...) bugs will be welcomed by many.

#

Re:I don't get it

Posted by: Anonymous Coward on May 16, 2005 09:33 AM
Strike two.

You have missed the point also. Apache's OSS implementation will not perform better than Sun's, and they know this. Sun's version has a 10 year headstart on maturity. OSS developers will not be able to make up on this kind of lost time. Where the OSS version will be most valuable, is the fact that it will be released under a Free license. Currently, Sun, theorectically, could stop offering their JVMs and class libraries for free, and set an arbitrarily high price tag. Anyone that already has Java applications running would suddenly be caught between a rock and a hard place. If this were to ever happen, Apache's (not as good as Sun's) version would be "good enough" to save the day.

#

Re:I don't get it

Posted by: Anonymous Coward on May 16, 2005 04:26 PM
Wrong. The sun.* library is not what rules the Java API.

If Sun decided to pull their support for Java, the Java Community Process would live on, and IBM or others would step in to fill the void.

Sun does not "own" java.

If Sun stopped distributing their JVMs then there are other free JVMs.

Java is free enough for all but the Religious folks.

#

Predictions of the future

Posted by: Anonymous Coward on May 16, 2005 05:48 AM
1. A handful of OSS jihadis finally release version 1.0 of their implementation of Java version 1.3, about 4 years later than planned, sometime in the year 2011.

2. It's full of bugs, more so than the existing JVM's.

3. Some folks decide to use it in a production environment, it crashs, those folks are fired.

4. RMS gives it his blessing, because it can run on HURD.

5. It includes "improvements" to the Java language, which no other JVMs support. But that's ok, because it's a competitive advantage.

6. it ends up as popular and functional and HURD.

7. 99% of all computer geeks continue to download the JVM and tools like Eclipse, FOR FREE, from the evil corporations

8. It gets forked and customized a dozen times, all of which succeed in getting 0.1% of the marketshre

9. Eventually, only a few die hard people continue to work on it, but its NOT A FAILURE!

JAVA IS ALREADY FREE, but go ahead and waste your time you idiots, I wish you luck.

#

Re:Predictions of the future

Posted by: Anonymous Coward on May 16, 2005 01:39 PM
Amen Brother. It's just yet another case of OSS guys unable to innovate and keep reinventing what's been invented by commercial entities. OSS programmers are just leach off ideas from successful commercial companies - like MS, Apple, Sun, Adobe and others.

We don't need stinking GPL Jihadi developed software.

#

Re:Predictions of the future

Posted by: Anonymous Coward on May 16, 2005 11:32 PM
What is YOUR problem? If they want to solve some problems, let them. Why are YOU getting worked up. They have the time, the energy and the idiology and with their spare time, they produce something that is useful for atleast some people. In YOUR spare time, you just make some silly comments over something that is not going to affect your life. Stay cool..

#

Re:Predictions of the future

Posted by: Anonymous Coward on May 18, 2005 11:49 AM
If you want to use Java on a platform like PowerPC Linux, one of the BSDs, or would just like it well integrated with your system then the current licensing sucks. Sun wouldn't even have to Open Source Java; they simply refuse to make it simple for third parties to have native well integrated installers. One almost always has to download an installer and jump through some hoops to get it working well. I think it is a pity that an effort like this is needed to solve such a simple issue.

Of course, Java has to run competently on your platform in the first place. The only decent Java for PowerPC Linux is IBM's and they make you jump through even more hoops to get it. Once you're done, you still lack a browser plugin. I shudder to think what other arches have to go through.

Ideology my ass. There are serious practical problems with Java as it stands. The problems are especially ironic for a language that once promised Write Once Run Anywhere. Sun doesn't tout that much anymore yet still insists only their enlighted stewardship will keep Java Pure. Ptoooey!

#

Re:Predictions of the future

Posted by: Anonymous Coward on May 20, 2005 09:09 AM
<A HREF="http://www-128.ibm.com/developerworks/java/jdk/linux140/?S_TACT=105AGX16&S_CMP=DWPA" title="ibm.com"> Try here</a ibm.com>

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya