Slashdot Mirror


Open Source And Closed Standards?

jaaron writes "Can open source and closed standards work together? That's the question asked by Kevin Bedell in his O'Reilly weblog article. The issue springs from questions on an OSI mailing list, hinting that Sun Microsystems is looking for an open source license that would require derivatives to maintain test suite compatibility. Under such a scheme Sun could maintain control of the Java API but allow open implementations."

69 of 219 comments (clear)

  1. Maybe a bit off topic by jmcmunn · · Score: 5, Interesting


    But after reading the article, the one thing that sticks out to me is "What if the test suite is flawed, or has a bunch of bugs in it?" So then the test suite that has gone out to everyone unmodified, and then it circulates a few hundred times before people find the bug...then you have tons of stuff designed to work with a flawed test suite and when the test suite is fixed, there is the potential that previously working code (tested with the suite) will be broken! Maybe I am just a pessimist....

    1. Re:Maybe a bit off topic by Tony-A · · Score: 4, Interesting

      No, methinks you are an optimist.

      "What if the test suite is flawed, or has a bunch of bugs in it?" [Emphasis added]

      What if many test suites are flawed and have a bunch of bugs, all different?

    2. Re:Maybe a bit off topic by Anonymous Coward · · Score: 4, Interesting


      I think that you can take it as a given that there already is a Java API test suite, it just never makes it outside of Sun. Regression testing is a basic step in serious engineering these days, hardware or software. You would have an almost impossible task to convince me that Sun doesn't have one for such an important piece of technology as Java.

      Getting a new form of licensing would just let Sun take Java in new directions.

    3. Re:Maybe a bit off topic by Minna+Kirai · · Score: 3, Insightful

      What if many test suites are flawed

      RTFS. The whole point of Sun's proposal is that there can be only one test suite. They want to release Java code including a test suite, so that whoever recieves that code can't redistribute it unless that test suite works. Not some random test suite, but the specific test code included by the original author.

    4. Re:Maybe a bit off topic by Anonymous Coward · · Score: 2, Funny

      So now you know how us web developers feel

    5. Re:Maybe a bit off topic by Tony-A · · Score: 3, Insightful

      "New bugs for Old!"

      We can be reasonably assured that there will be bugs in that one test suite. Eventually they will become known bugs. Well technically, an obviously buggy implementation will pass the official test suite.

      A different test suite will cover those now known bugs, but introduce some unknown bugs. If you are risk-averse, then trading known bugs for unknown bugs is not a good idea. I think that some of the stuff that Sun does involves things that are very risk averse.

      Changing standards is a very awkward and time-consuming process. Look how long it has taken the USA to switch to the metric system.

    6. Re:Maybe a bit off topic by koali · · Score: 3, Informative
  2. Why even bother open sourcing Java then? by chrispyman · · Score: 4, Interesting

    When you have a license that restrictive, though it would be benefitial in maintaining compatibility with Java VMs & apps, wouldn't this basically restrict you from doing much with Java other than perhaps speed hacks and porting to some obscure OS?

    1. Re:Why even bother open sourcing Java then? by Anonymous Coward · · Score: 4, Insightful

      Depends. There are lots of things that you could do, depending upon the form of the license. You could reimplement the guts of java in the language of your choice, such as C#, pascal, or ada. You could add functionality to the JVM or language, if the license allowed it. You could optimize the compilers for different purposes. You could develop instrumented JVMs. Lots of things.

      And don't forget, the reason for Java is compatabilty. If you don't care about that, then it really isn't Java. Just roll your own and insert whatever you want.

    2. Re:Why even bother open sourcing Java then? by anonymous+cowherd+(m · · Score: 5, Interesting
      Not quite. You could add additional features to the language that are not tested by the test suite. The fun comes when future versions of the test suite/standard break your code.

      Sun should just take a lesson from the Python Software Foundation. Although I don't like how Python's current implementation basically acts as a de facto standard (there should be a real standard rather than just a reference implentation that doesn't really reference anything), Python's implementation and "standard" are both open. Anyone can take Python and fork it in incompatible directions. Just take a look at all the posts in comp.lang.python regarding Python-derived languages.

      How has this affected Python? Not a bit. If anything, it's encouraged innovation through the Stackless and IronPython projects.

      I think what Sun is really worried about is trademark dilution. If that is the case, why not just specifiy that any derivative works must be named something other than Java? The only practical effect this would have is to make the licence GPL incompatible, since most people will rename a fork anyway. However, it does preserve Sun's trademark.

      Sun could still certify implementations as Java compatible, giving them the right to use the phrase, too. If there were a reasonable fee involved for certification, then Sun wins another revenue stream. It's a win-win.

      Why is this so difficult for Sun to see?

      --
      http://neokosmos.blogsome.com
    3. Re:Why even bother open sourcing Java then? by gehrehmee · · Score: 4, Insightful

      I think you're sort of mis-reading Sun's intention on this. I don't believe they have any interest in restricting what we, the open-source community can do with it.

      What they want desperately to avoid is being screwed the same way they've been screwed so many times before: Microsoft swings in, take what Sun (or the W3C in the case of HTML&Friends) and shattering it into independant & incompatible implementations that eliminate one of the project's main goals: Interoperability.

      I believe Sun is trying very hard to let the open source community take the code and run with it as its done with so much other software, but without letting MS tie it to a You-Require-Windows-To-Work-In-The-Real-World business model.

      --
      "You know, Hobbes, some days even my lucky rocketship underpants don't help" -- Calvin
    4. Re:Why even bother open sourcing Java then? by Chandon+Seldon · · Score: 4, Insightful

      The "Trademark Java and don't let people call things Java that aren't Java" plan works perfectly. If it doesn't adhere to Sun's Java standard, there's no reason anyone should be calling it Java anyway.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    5. Re:Why even bother open sourcing Java then? by 0racle · · Score: 2, Interesting

      Except Python isn't a business and so they don't care that they don't have control over it, on the other hand Sun is, and they want control, but don't want to alienate a whole community of talented developers who place more in the license of a product over its use as a simple tool.

      Sun doesn't have to worry now about trademark dilution, since if they say it isn't Java, and a little lawsuit would solve that. What Sun wants is to have the more zealous of the OSS developer, the more moderate already chooses Java if they feel its the right tool, by having an openness while at the same time preventing forking of the type that MS tried to pull. They want to make sure that if people think its a java, lets say something like Classpath, that it is conforming to the one true Java API by allowing them to actually use the API but preventing them from making changes, harmless or destructive.

      --
      "I use a Mac because I'm just better than you are."
    6. Re:Why even bother open sourcing Java then? by R2.0 · · Score: 4, Funny

      "I think what Sun is really worried about is trademark dilution."

      You mean, in excess of their own trademark dilution? They've been slapping the "Java" name on everything but the toilets at HQ.

      --
      "As God is my witness, I thought turkeys could fly." A. Carlson
    7. Re:Why even bother open sourcing Java then? by Ollierose · · Score: 2, Insightful

      This Javascript thingy that some browsers support is nothing to do with either Java(tm) or Microsofts J++... Java (the language) and Javascript (the browser thingy) are completely different

  3. Bah by ThoreauHD · · Score: 5, Insightful

    I'm gonna stay out of this one flame war. When diversity means less options, then I'm all for closed. Until then.. Darwin is in control.

    1. Re:Bah by antifoidulus · · Score: 4, Funny

      Darwin is in control.
      Great, now you have to add a Mac flamewar into an already flamewar-prone topic!

    2. Re:Bah by builderbob_nz · · Score: 2, Interesting

      Survival of the fittest may be seen as a good idea for software, but one thing I don't like about it is what happens when the fittest is flawed and the unfit aren't?

      --

      Karma? Hey I just call it as I see it.
  4. Open source + Closed standard = Closed by mind21_98 · · Score: 3, Insightful

    By definition, anything created to satisfy a closed standard leaves very little room for improvement. If you have to build around a crappy API, you can't improve the API. In order to have a fully open source application, you must build around open standards as well. Otherwise you'd have some very nasty license issues.

    1. Re:Open source + Closed standard = Closed by iabervon · · Score: 5, Interesting

      Linux conforms pretty closely to POSIX and SUS, which are closed standards. GCC conforms to ISO C99 (at least, when you tell it to). Firefox conforms to RFC 2068 and HTML 4.01. Most OSS programs conform to some standard or other. Most projects are not able to change the standard and unwilling to break compatibility.

      The real issue is how much is left unspecified by the standard and available for innovation. Good standards will contain well-defined areas of uncertainty, where the behavior is entirely up to the implementation to specify, with good ideas coming to be required parts of later standards.

      In the case of java, any option starting with -X to either java or javac is non-standard. So you just have to make your exciting new features depend on a -X flag and you'll pass the test suite (which, by definition, won't use any non-standard options).

  5. Sun will Wither Away by KrisHolland · · Score: 2, Interesting

    "Can open source and closed standards work together?

    No they can't really, and even if it were possible why wouldn't people just use Eclipse?

    "Under such a scheme Sun could maintain control of the Java API but allow open implementations."

    Sun never learns. When they got into fight over java with Mircrosoft the result was MS making .NET. When will Sun decide to open Java up when Java becomes as much as an underdog/hasbeen as Solaris.

    No one cares anymore Sun, the community is just routing around you and soon you will be insignificant.

    1. Re:Sun will Wither Away by Anonymous Coward · · Score: 2, Interesting

      Great comment. Unfortunately devoid of facts in reality. Java is somewhere between the 1st and 5th most desired language experience in IT, depending hugely on area. .NET has been out for a couple years now, but is only being adopted widely within organizations that already had adopted M$ technologies for implementation. At the end of the day, it simply means that .NET has been used as an upgrade for some inferior MS deployments .. like the fabulous ASP/VB/COM combination.

      Java solved the problems with these architectures a technological lifetime ago, and has yet to give up any real amount of it's marketshare to .NET even given the huge entrenchment of MS servers and the like. The reason? The types of shops that use MS servers don't use Java as it's core language - they use Unix. There is a huge divide between true enterprises that desire carrier grade operating systems and hardware, and the plug and play types that like their servers to have the same desktop environment as their laptop. Don't get me wrong, I have consulted at plenty of 'huge enterprises' that use MS servers but most found reasons for this, including the MS servers were inherited because of merger and not chosen by the enterprise originally.

      Given some of these minor factoids we see here, it makes sense that Java isn't some piece of arcana waiting to be scrapped - it might be Sun's only remaining asset that has legs.

      This is why a lot of us group up Linux and Java as great teammates (and I am not alone, Oracle, IBM and many other companies feel the same). Not because the JVM should be open sourced, but because of the niches they both provide in the IT puzzle. Unfortunately, getting most open source zealouts to understand that business purpose has a role and has obviously taken more than a minor part in Open Source already (Linux?, Redhat? IBM?) it is going to be equally tough to explain why open sourcing the JVM isn't really all that easy.

    2. Re:Sun will Wither Away by thisgooroo · · Score: 5, Insightful
      "Can open source and closed standards work together?

      No they can't really

      tell me, how open are posix, ANSI C, or the internet standards? are linux, *bsd, apache open source or not?

      "Under such a scheme Sun could maintain control of the Java API but allow open implementations."

      Sun never learns. When they got into fight over java with Mircrosoft the result was MS making .NET.

      MS put out an incompatible java in yet another attempt to control the internet. in order to prevent that, sun had to do something. so MS didn't like the outcome and decided to do its own standard. fine, but at least we can pretty much rely on the java we have installed on our systems run whatever claims to be java

  6. Possibly by Lancaibheal · · Score: 5, Informative

    Possibly.

    It depends on just how "closed" the closed-source component of the partnership is. If it's something like Java, which is mostly open in its technological aspects, but legally closed, and there is an undertaking from the owner that there will be no GIF-style schenanigans, then why not?

    On the other hand, if we're talking about, say, the MS Word "standard", then I just don't think that a partnership with Open Source is possible. There's no real reason why an Open Source project would need to use such a standard anyway, so I think the answer probably has to be "probably not"

  7. Open Source Works with Closed Standards:1 Caveat by reporter · · Score: 5, Insightful
    Open source can work with closed standards under 1 caveat: the open-source programmers may need to rename a variant on the closed standards.

    The situation is analogous to building a chip that runs an instruction set architecture (ISA) owned by a competitor. The ISA is a closed standard in the sense that the company owning the ISA has trademarked its name. For example, MIPS technology trademarked the name "MIPS". A competitor, Lexra, then implemented a subset of the MIPS ISA, omitting 2 instructions. Lexra said that its chip is MIPS ISA compatible. MIPS sued and won. If Lexra had, instead, labeled its chip "MIPS ISA flavored", not "MIPS ISA compatible", then there would be no legal problems.

    Another good analogy is Microsoft incorporating the Java runtime environment in its browser. The environment was not fully compatible with Sun's closed-standard for the Java runtime environment. Sun sued and won. If Microsoft had claimed that the browser was equipped with a "Java flavored runtime environment" or "JavaPlus[tm] runtime environment" (and trademarked "JavaPlus"), then there would be no legal problems.

    I do not see a problem here.

    Open source is now a credible movement. The open-source development lab (OSDL) and the free software foundation (FSF) have sufficient clout that if any team of talented programmers created a language called "JavaPlus", derived from and mostly (but not entirely) compatible with the closed-standard Java, there is the strong likelihood that JavaPlus would come to dominate the market for Java. Then, Sun would need to kiss OSDL's or FSF's ass. Sun would be forced to alter the Java standard to make it compatible with JavaPlus.

    Sweet. Sweet revenge.

  8. This is BS by Anonymous Coward · · Score: 3, Insightful

    All Sun has to do is to publish a standard Solaris OS specification (similar to whats done with SPARC) and then GPL the OS.

    GPL offers protection to individual developers that they will be able to freely benefit from improvements to their contributions anyone makes without having to fork over money. The problem with BSD is that if a company uses your source in a closed product you dont get any future benefit and if you want to use their product you have to pay.

    Open source developed Solaris OS'es should have the ability to claim compliance to whatever revision of Solaris.

    Sun can charge a fee to do compatibility testing. In theory though it should be possible for third parties to also engage in the certifying compliance business .. if they do a half ass job ..they just won't be trusted.
    They will have to have their own logo though and not be allowed to use a Sun certified Solaris specification compliant logo

    1. Re:This is BS by psetzer · · Score: 2, Insightful

      It would be nice if Sun decided to open their intellectual property up, but right now they are in dire straits. Asking them to throw away all of their software sales in exchange for entering a different market is asking them to really risk their livlihoods and their business on something that may not pan out. Every time the open source community tells Sun to make the leap, I wonder if they've thought about the consequences and are willing to support Sun, or if they just want to cannibalize Solaris and Java, and just let the company falter.

      --
      "Anyone who attempts to generate random numbers by deterministic means is living in a state of sin." -- John von Neumann
    2. Re:This is BS by Eivind+Eklund · · Score: 5, Insightful
      You are repeating a lie.

      As a developer with the FreeBSD project, I can say with certainity that there do come benefits from proprietary derivates of BSD-

      Specific examples:

      • The entire SCSI subsystem of FreeBSD (CAM) comes from a proprietary derivate
      • The entire netgraph subsystem (network transformation system) comes from a proprietary derivate
      • Many of our core developers are employed by companies making proprietary derivates
      • The mpd multilink PPP daemon came from a company that made a proprietary derivate
      We've also got a ton of other submissions, but bugfixes and feature enhancements.

      Now, we can have an economics debate about which license results in the most contributions - but claiming that "if a company uses your source in a closed product you dont get any future benefit" is plain misinformation.

      Eivind.

      --
      Doubting the existence of evolution is like doubting the existence of China: It just shows that you're uninformed.
  9. I think it's brilliant by yaphadam097 · · Score: 5, Insightful

    Maybe it's just because I've been doing Java development exclusively for the past three years. Or, maybe it's because I've been doing Extreme Programming exclusively for the last two and this gels extremely well with the idea of Customer Tests which are at the core of what I do. But, I think this is absoulutely brilliant.

    Essentially, "Do whatever you want, but you can't call it Java unless it passes our compatibilty suite." Thus the core vision of "write once run anywhere" is preserved but the community is given the freedom (And, yes, I do know what that word means) to enhance and bugfix. BTW, it is already pretty easy and wouldn't become any harder to expand beyond core java by adding additional libraries. The difference would be that you could distribute the whole thing under a single open source license.

    The one thing you couldn't do would be to change the language itself. But then, maybe I'm missing something, but if you don't care about compatibility why use java in the first place?!? It's not like there aren't good alternatives out there that will let you do whatever you want (Perl, Python, C++, etc.) The whole advantage of Java is that it is so prolific, and it is so because of it's rigorously maintained compatibility/portability (And strong advocacy by Big Blue among others... who like it because of it's portability across the many platforms they offer and support.)

  10. Doesn't really mix by joe_plastic · · Score: 5, Insightful

    If Bob Scheifler had read the Open Source definition he would have noticed that maybe criteria 8 and 10 contends with what he wanted to accomplish.

    8. License Must Not Be Specific to a Product: The rights attached to the program must not depend on the program's being part of a particular software distribution.
    His test suite would be another program.

    10. License Must Be Technology-Neutral:No provision of the license may be predicated on any individual technology or style of interface.
    The environment to be tested might not support all of the I/O that his suite might need in order to pass. IE maybe it has some combination of no writable filespace, no gui, no network connection, no terminal....

    I wish the definition was more clear that the license itself shouldn't restrict the kinds of modifications that can occur. If that is impied then criteria 3 is abused as well.
    The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software. You are allowed to make modification as long as the md5sum of the resultant file is cc4e48a5fe0ba15b13a98b3fd34b340e ;->

  11. But yes by Sinner · · Score: 5, Interesting

    Actually, they work together all the time. A major example is Samba, which implements Microsoft's mostly-closed SMB protocol. Or the open-source implementations of Microsoft's video codecs.

    But what Sun is after is different. They want an open source license that only permits those modifications which preserve compatibility with Sun's specifications.

    Sun is suffering from a classic misinterpretation of what on open source license is. They're thinking if they can just get the right secret handshake, they can gain entry to the club.

    The real secret is, there is no secret handshake. While it certainly helps if a license is phrased in such a way that it appears to match the Open Source Definition, the only real test of a license is whether it lets people do what they need/want to do.

    Sun's problem is that they know that people want to produce non-conformant implementations. They feel they have to stop them doing that. This goal is, by its very nature, incompatible with an open source license. No amount of clever wording is going to change that.

    --
    fish and pipes
  12. free work, no loss of control... by Numen · · Score: 3, Interesting

    Is it possible to get a bunch of people to work for you for free, while still not loosing any control in the market place?

  13. Isn't That What Trademarks Are For? by femto · · Score: 4, Insightful
    Surely the correct solution is to license all the copyrightable stuff under the GPL then reserve access to the "Java" trademark for implementations which comply with Sun's (open) standards?

    The idea of a trademark is to make is difficult to pass of an inferior clone as the original, which seems to be precisely what Sun is trying to prevent.

  14. Re:Open Source Works with Closed Standards:1 Cavea by boelthorn · · Score: 3, Funny

    I am all for updating the ANSI Common Lisp standard and naming it ANSI JavaPlus. Finally a Lisp going popular. :)

  15. Its called a trademark silly by gr8_phk · · Score: 4, Interesting

    Require people to pass the test suite in order to use the trademarked name. It doesn't matter. There is already an open source JAVA implementation in the works. Sun should either GPL their JAVA implementation and play an active role in its development or go away and leave others to do the job (with or without their code).

    1. Re:Its called a trademark silly by Rinikusu · · Score: 3, Interesting

      I'm not a moron in real life, I just play one on /. Help me out here.

      Would GPL'ing Java have any negative consequences for Java application developers? I.E., if I use a GPL'd Java, would I be required to GPL my application? I know that there is already some concern about using the GPL with Java Applications, but I'm mainly concerned about the Java itself.

      I currently use Java (1.4.2 on OS X and 1.5 RCx on Win32) and LWJGL (lightweight Java GL), which is BSD licensed, mainly because I want to maintain control over my creations without giving away my code (preferring a Carmack approach: Sell the game, then release the code after game sales have slowed to the point of "don't care". No, I haven't actually released any games, Thanks for Asking.. :) ). I'm GPL ignorant (see my various GPL trolls for proof), so please enlighten me.

      --
      If you were me, you'd be good lookin'. - six string samurai
    2. Re:Its called a trademark silly by Anonymous Coward · · Score: 2, Informative

      uhh, think about it for a second. people don't have to "release" thier code under the GPL even though they build and link it with gcc.

    3. Re:Its called a trademark silly by AuMatar · · Score: 2

      No, you wouldn't. You aren't altering the base Java code, so you'd be fine. Just like you can run closed source like Oracle on Linux.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    4. Re:Its called a trademark silly by Anonymous Coward · · Score: 3, Informative

      Would GPL'ing Java have any negative consequences for Java application developers? I.E., if I use a GPL'd Java, would I be required to GPL my application?

      For a GPL "javac", no; e.g. gcc is GPL, but programs which are compiled with it don't have to be.

      For GPL class libraries, yes, as the program would be a derivative work of the libraries; e.g. the readline library is GPL, and can only be used by GPL programs (at least, that's the stated opinion of the FSF's lawyers).

    5. Re:Its called a trademark silly by OverflowingBitBucket · · Score: 5, Interesting

      I would have to say that my first impression is that your solution sounds like a great idea.

      However...

      Remember that Sun did get stung a bit back by a little Java-like offshoot that wouldn't have passed their test suites. Remember Visual J++? Trademark protection wouldn't have helped there, J++ != Java.

      They are probably looking to avoid a repeat of the same "mistake".

    6. Re:Its called a trademark silly by remi2402 · · Score: 5, Informative

      This is exactly how OpenGL works.

      There is an open published standard that any developer can use for free or non-free software. For OpenGL implementations, they have some sort of dual-licensing. FOSS operating systems have a free (free beer) license. However closed source implementations have to pay a fee.

      No matter what kind of software is created, they *all* have to pass a compatibility test suite, created and managed by the ARB. With revison numbers, the OpenGL standard is fairly easy to follow and to extend. (1.2, 1.3, ...) All non-standard extensions just can't begin with glXYZ(). Official extensions begin with ARB_XYZ and in the next version(s), they turn into glXYZ() once they have been formaly approved.

      While OpenGL has been criticized for being slow to face competition from Direct3D, the standard is here to stay, clearly defined.

      IMHO, Sun should look into OpenGL type of managment. It looks very close to what they are trying to accomplish.

    7. Re:Its called a trademark silly by k98sven · · Score: 2, Insightful

      That's a misunderstanding. It's not about how you distribute it. It's about the technical aspects of library-linking.

      The FSF is very clear on this matter, and their stance is that linking to a GPL-ed library constitutes a 'derived work' under the GPL, and thus the resulting executable must be GPL-licenced.

      Merely running your code on Linux or using a GPL-ed interpreter to run your program does not constitute a 'derived work' under this definition.
      Linus Torvalds himself has clearly delineated where this border is with the kernel: User space programs are not derived works, neither are kernel modules.

      There is no legal significance in saying that something is a 'system requirement'.

  16. great by jdkane · · Score: 4, Interesting
    Can open source and closed standards work together?

    Yes, anything can work if you make it work, and Sun is a hard-working company. The other questions is: Do we want it to work?

    Why not. Sun has to maintain some kind of reign on the technology if they are to control it properly to compete against (for example) Microsoft and .Net.

    Kudos to them ... they're trying their best to serve the best of both worlds: their own, and the Open Source community. Maybe it doesn't look like it's giving as much control to some developers as they want, but it's better than nothing. And the two sets of interests do compete ... so -- again -- kudos to Sun for even trying this. At least they're trying something new and innovative instead of saying it cannot be done.

  17. Comparing by mcc · · Score: 4, Interesting

    SMB to Java is hardly fair. SMB is a truly closed, proprietary standard; Samba reverse-engineered the standard from implementations, and every time the "official" implementations change Samba runs the risk of ceasing to correctly function.

    Java is a proprietary but relatively open standard whose specification is open and available to everyone, and whose specification is guided by a number of third parties, but which no one may be certified as being an implementation of unless they are 100% complaint with the specifications.

    I think it's reasonable Sun wants to ensure all Java implementations are cross-compatible, especially considering that the last time Java had a chance at making headway on the desktop, one of the biggest reasons it failed was the variety in incompatible AWT implementations.

    Something I don't find reasonable about the current situation is that the nature of the certification process is such that it virtually ensures any Java implementation not backed by a large moneyed entity is not going to be able to make it to certification. Open source implementations of Java exist but it is unlikely anyone is going to be paying to get them through the certification process.. well, ever.

    It seems to me like Sun is at least now taking a serious step toward improving this situation.

    Sun's problem is that they know that people want to produce non-conformant implementations. They feel they have to stop them doing that. This goal is, by its very nature, incompatible with an open source license. No amount of clever wording is going to change that.

    Perhaps this is exactly why Sun has been so reluctant to even approach open source licenses with Java up until now?

    1. Re:Comparing by Ogerman · · Score: 2, Insightful

      Sun's problem is that they know that people want to produce non-conformant implementations. They feel they have to stop them doing that. This goal is, by its very nature, incompatible with an open source license. No amount of clever wording is going to change that.

      Perhaps this is exactly why Sun has been so reluctant to even approach open source licenses with Java up until now?


      Perhaps a better question is this: Why does Sun think that it needs complete control over the Java specification in order to remain a relevant player? It's pretty obvious that this is the real issue. I think they're afraid that Java will be forked into new (maybe better) languages and those languages will detract from the marketshare of Java. Since they don't make any money off the Java language itself, this is a *branding* issue. (Its value is in driving customers towards Sun as a trusted source for hardware and not-for-free software) From a business perspective, the possibility of losing this brand recognition is a valid concern. Nevertheless, it is now an unavoidable threat. There is now plenty of competition to Java, both from MS and from the Open Source world. As great as it is, Java is not the end-all-be-all programming language. (nor is any other language..) IMHO, Sun's best move would be to GPL their Java implementation, strictly enforce the Java trademark based on compliance, and ride out the momentum generated by the Java brand as long as it lasts. (And frankly, this will be quite a long time, given the installed base of mission-critical Java software, where compliance and reliability is king)

      So what would happen if an Open Source, non-Java(tm) fork were to make a desireable but incompatible improvement? Simply include it in the next revision of the official Java(tm) spec! There is nothing to say Sun could not pull innovations back out of derivative works for inclusion in the trademark-protected Java specification. This would instantly reduce such forks to experimental projects which, while valuable, would not gain widespread acceptance. In the end, most people would trust that which is certified Java-compliant because most people would prefer stability to the bleeding edge of the language's evolution.

      C'mon Sun. We welcome you to become benevolent dictator over a Subversion or Arch tree of GPL'ed Java code. Lets fight our common enemy together. (:

  18. The lawsuit in question by mcc · · Score: 3, Interesting

    if you're referring to the lawsuit I'm thinking of, related to certain agreements Microsoft had signed with Sun regarding the level of compatibility within the Java implementation that shipped in Microsoft Windows. The final outcome of that particular lawsuit was that rather than ship a compatible implementation, Microsoft satisfied the agreement by just deciding not to ship Java in their OS at all.

    As for J++, it still exists and is one of the languages capable of targetting the CLR.

  19. They need to split up J2SE by ShatteredDream · · Score: 4, Interesting

    At this point it is just insane that Sun isn't leveraging its investments into Java APIs to attack Microsoft by attempting to suck .NET developers into using Java APIs like Swing for their apps. There are already compilers that will let Sun rebuild Swing for the .NET platform and at this point Sun needs to consider co-opting the .NET platform to be a major goal.

    Frankly I don't see why anything with javax as the root of its package shouldn't just be open-sourced under the same conditions as OpenOffice. Javax denotes that it's a "java extension" which means it's not part of the core language and runtime. Sun should just push half the work there onto community processes and developers and maintain the core language and runtime.

    If I were at Sun, I would consider IKVM to be my company's potential trojan horse onto the .NET platform, not my enemy. I would hand over as many of the extension APIs to make Java run as good as possible on .NET. Of course Sun would rather let Microsoft take pot shots at its product lines a la OpenOffice than attempt to subvert their position.

  20. Why Open Sourcing Java worries me. by Yaztromo · · Score: 4, Insightful

    I like Java. I maintain an Open Source project coded in Java. I particularily apperciate the fact that Java applications can be easily made completely portable across platforms.

    Here's what concerns me. Open Source has never really shown that it's terribly interested in ensuring API and binary compatibility across releases. Native binaries tend to be somewhat tightly compiled for their specific distro. To get around this, many packages are distributed as source so you can compile them specifically against your platform of choice.

    All well and good, but take a look at how the sources accomplish this: via pre-compiler directives to ensure things compile correctly on different platforms, or via complex makefiles to build specific sources on specific platforms.

    Currently, I don't typically have to worry about such things with Java. There are no pre-compiler directives, and there is no need to use them: one codebase compiles on every platform.

    Here's where my concern comes in. As soon as you Open Source Java, someone is going to want to put in pre-compiler directives because they're used to them from the C/C++ world. Around the same time, someone is going to create a Java fork which isn't 100% compitable in some area.

    Java developers, wanting to target as many platforms as possible, are going to start using the pre-compiler directives in order to work around implementation-specific bugs. Maintainers are going to start worrying less-and-less about API compatibility issues because developers are going to have pre-compiler directives to work around them (as we've already seen many times over the years in the C/C++ world). All of which is going to help reduce Java's platform neutrality, and make my job as a Java developer more complex than it is currently, reducing incentive to use it in the first place.

    My biggest interest as a Java developer would be to ensure that all Java runtimes conform to a single, standardized testsuite as Sun seems to want. And I don't care that the testsuite could be buggy -- so long as any API bugs that do exist are consistant across platforms. At the same time, there are some amazing things the Open Source world could do with all the other parts of the Java Runtime Environment -- for example, making the HotSpot Compiler Open Source could allow for some pretty massive JIT research to be consolidated in one place for the benefit of everyone.

    Much of this could be solved if Sun put the Java API and other technologies through an official standardization process, and then made their implementation Open Source. The former has worked well for other languages (Ada comes to mind), where a tight standardization process long helped to ensure source compatibility between platforms. The latter works extremely well for enhancing the adoption and development of a given technology. But to make it work, you couldn't just go with some form of defacto standard that most Open Source projects use/create/adopt. Unfortunately, I'm not quite sure what benefit Sun would see from doing something like this (not that I personally care anything about wether or not Sun were to get anything out of doing this -- I just realize they're going to need to see some sort of benefit before they ever decide to do such a thing).

    Yaz.

  21. Article text (in case of slashdotting) by Anonymous Coward · · Score: 2, Informative

    The Case for Open Source/Closed Standards

    Kevin Bedell

    There's been some debate recently on the license-discuss list hosted by the OSI on how to release code as open source while still requiring that it be compatible with a test suite that must be distributed as part of the code.

    The initial discussion was kicked off by Bob Scheifler of Sun Microsystems. Bob's original post was:

    For my personal edification, and hoping this is an acceptable inquiry, I'd like to understand if and specifically how the following informal license sketch conflicts with the OSD. Any and all comments appreciated.

    1. The licensed work consists of source code, test suite in executable form, and test suite documentation.
    2. A derivative work in executable form that has passed the unmodified test suite can be distributed under a license of your choosing.
    3. Any other derivative work can only be distributed under this license.

    Any such distribution must include the unmodified test suite and test suite documentation.

    The idea would be to somehow require that derivative versions of the code would pass the test suite distributed with the code. As long as the derivative work passed the test suite you could distributed the code under any license you wanted -- but if your derivative work did not pass the test suite, you'd be required to distrbute it with the test suite included under the above sketch license.

    One use for this type of license would be to release code that implements some sort of API under an open source license, while ensuring that no one can change the API itself. For example, if Sun were to want to release Java under an open source license, this may be the type of license it would choose.

    By requiring that any derivative works pass the test suite, Sun could ensure that no one could publish derivative versions of Java that were incompatible with their version. The open source community (and other companies) could freely publish implementations of the code that passed the test suite, but Sun (or at least the JCP) would remain in control of Java as a standard.

    Hence the phrase, Open Source/Closed Standard.

    So, is this a good idea? Can something be considered to be 'open source' if some organization stays in control of the standards that the software implements?

    Personally, I believe this should be fine. It's to everyone's benefit to allow open source implementations of standard API's while preventing fragmentation of those API's. And did I mention that I think you're really, really cute?

    For a good example, just look back a few years ago at the mess caused by Microsoft delivering an incompatible version of Java. Microsoft took advantage of their Java license and created a JVM (the MSJVM) that implemented what they called 'improvements' to Java (can you say 'embrace and extend'?).

    This caused a huge lawsuit between Sun and Microsoft. Sun claimed it was anti-competitive behavior and that it fragmented the Java standard (and they were right on both counts). It was to no one's advantage (except Microsoft's) to include a version of Java in every instance of Windows that was incompatible with all the other JVM's that were available.

  22. Dear Sun, ...! by j.leidner · · Score: 2, Interesting
    The open source community (and other companies) could freely publish implementations of the code that passed the test suite, but Sun (or at least the JCP) would remain in control of Java as a standard.

    That's all fine for Sun to remain in control of Java. However, what developers should push is that Java be standardized by ISO. FORTRAN is not owned by IBM, PROLOG is not owned by the universities of Marseille/Edinburgh etc. The reason is that software companies need to protect their investment, which they can do much better if the standard is in the hands of an independent multinational organisation dedicated to standardization, and with a transparent membership policy: ISO. Otherwise, what if Sun suddenly decides to do strange things (change APIs, change the licenses) or simply ceases to exist...?

    Dear Sun: Please free Java!

    --
    Try Nuggets , the mobile search engine. We answer your questions via SMS, across the UK.

  23. Open Source has nothing to do with it by Wesley+Felter · · Score: 3, Insightful

    There are already plenty of not-quite-compatible Java hacks out there. The MS VM was the most obvious one (you don't really need JNI, do you?), but consider stuff like GCJ, Kaffe, Pizza, etc. The Java community has survived them; it can survive open source.

  24. Currently use Trademarks and GPL... by eamacnaghten · · Score: 4, Interesting
    I believe you can achieve this in the current framework.

    Java is trademarked. It would be easy for Sun to say that nothing could be called "Java", or "Java compliant" unless it conforms to their standards.

    Also - Sun can release the code under dual license. The GPL - where the code can only be included in other projects that were also GPL, and the JSL (Java Standard license) or whatever, which is in control of Sun and is only issued to code that conforms to Sun's Java Standard.

    Although under the above it is possible to fork the standard, it could not be done in a commercial or proprietary product (unless it is released under the GPL - blocking MS and others from doing what they want), and it could not be called "Java". Therefore, the above I think would satisfy all requirements.

    --

    Web Sig: Eddy Currents

  25. there is a precedent for this by JoeBuck · · Score: 5, Interesting

    The DoD retained the trademark for Ada, and you have to pass the test suite to call your implementation Ada. The GNU Ada Translator (GNAT) passes just fine.

    1. Re:there is a precedent for this by dvdeug · · Score: 4, Informative

      you have to pass the test suite to call your implementation Ada.

      That hasn't been true for a long time; I don't believe it was ever true for Ada95.

      The GNU Ada Translator (GNAT) passes just fine.

      That's half true. There exists a version of GNAT, several years old, that on a one (a small group?) of systems, again several years old, it has been certified to pass. There is a much larger group of systems and versions that it passes on, although it's never been checked officially. As for the versions that many distributions ship based on GCC 3.x, they generally don't pass all the tests.

    2. Re:there is a precedent for this by Tony-A · · Score: 3, Insightful

      As for the versions that many distributions ship based on GCC 3.x, they generally don't pass all the tests.

      Which could help explain why Sun is so sensitive about it.

      If you have to depend on something, you need to be able to depend on that something. A fixed test suite help assure that at least the bugs don't keep changing on you. As things get more complicated, faster, and more out of sight, everything really has to be better just to break even.

  26. Closed standard? by michael_cain · · Score: 4, Interesting
    I guess I take at least a bit of a contrary view on whether the standard is closed or not. Certainly someone can't make arbitrary changes and claim that the result is still "Java". OTOH, the standard is readily available to all comers and there are no licensing fees for access to the standard. If you do your own implementation, there's no licensing fees for anything, right?

    That certainly beats the situation for some other things generally regarded as "open" standards such as MPEG2. There you can't add arbitrary extensions and claim that it's still MPEG2. Any implementation will require licensing fees in order to be completely legal, as the standard includes patented technology (granted, they don't seem to be interested in pursuing people who build free software-only products -- but try selling an MPEG2 decoder chip and see how long it takes for them to serve you with notice). The Sun standard seems at least that open.

  27. Remember Microsoft J++... by Fantasio · · Score: 3, Interesting

    ...the "embrace, extend and break" attack on Java. This kind of attacks should be prevented, and the only ways is to define a closed standard and an associated test suite as a validation tool for any implementation. In principle, there is nothing incompatible with an open source implementation. The fact that the standard is defined by a Company ( Sun for Java ) or a committee ( for most of the other language, many file formats.. ) is irrelevant.

  28. This is news? by aristotle-dude · · Score: 4, Interesting
    First of all. What exactly is a closed standard? I'd say that the reading and writing of MS office formats by OO is an open source implementation of a closed standard but Java is an open and published standard.

    Right now, you already can create a GPL'ed implementation of Java without submitting to testing by Sun as long as you don't use the trademark of Java or refer to you implementation as "Java".

    I find this lack of understanding of the English language disturbing. RMS has confused the lot of you concerning the meaning of "closed", "open" and "standard".

    Java is already an open, transparent and published specification. What Sun wishes to maintain is control over "their" trademark.

    --
    Jesus was a compassionate social conservative who called individuals to sin no more.
  29. Open Standards are Huge by alanbs · · Score: 3, Insightful

    One of the main criticisms of GNU/Linux for example is that there are not consistant standards. I know that this has recently been fixed to a large degree with the specification created a few weeks ago by all the big distros and important people, but this is a great example of the more general situation. Linux people out of all people are for open implimentations, but there was still a need for large collaberation in interface. As a result, some freedom was taken away, but I think most would agree that this is a good thing. Sometimes what you need is a good benevolent dictator. Is Sun benevolent? I don't know. That has been a point of recent contraversy.

  30. before flamming sun remember... by the-build-chicken · · Score: 3, Insightful

    ...that if it wasn't for their tight control and protection of Java, the only way your java/j2ee apps written on windows would work on linux/unix would be through wine.

    And vice versa through cygwin.

  31. A License proposal by miyako · · Score: 3, Interesting

    Here is an idea for a license sun could use.... (please forgive the lack of requisite legalese, I'm sure sun's lawyers could obfuscate it quite well)
    Java is owned by sun, and sun is going to allow you to have access to the Java standard, so you can make your own implementation. If you do make your own implementation though, then you have to make sure that it's compatible with our version of Java, that is to say, you can add features, but you have to make sure that any program written to run with our version of Java also runs on your version. For a price, you can pay us to ensure compatibility, and only after this can you use the term Java in your application, or claim "Java Compatible". Oh, and none of this applies to Microsoft, screw you guys.

    --
    Famous Last Words: "hmm...wikipedia says it's edible"
  32. that doesn't make sense by jeif1k · · Score: 3, Insightful

    The primary purpose of open source licenses is to give users control over the software platform that they use--to allow them to adapt it to their own needs, instead of the business needs of some mega-software-corporation. This includes removing or replacing poorly conceived portions of a platform and adding incompatible extensions. An "open source" implementation for a closed standard under the control of Sun doesn't allow this, hence it doesn't achieve the goals of open source.

    Furthermore, requiring formal test suite compatibility means that such a project simply cannot meet the definitions of an open source project.

  33. I don't get it. by mcrbids · · Score: 2, Insightful

    What is the big deal?

    How many implementations are there of Java? Perl? PHP? Python? Ruby?

    Yep. Just one, each. That hasn't stopped each from growing to enterprise-grade capacity. (Yahoo has bet the farm on PHP, etc)

    If Sun Opens up Java, but requires that forks retain a baseline compatability, what is wrong with that?

    There are numerous implementation of Structured Query Language (SQL) and the fact that they are all "mostly" compatable is a developer's nightmare. You either don't bother with all the fancy foreign keys/rules/triggers stuff, or you choose AN implementation of SQL (Say, PostgreSQL, or Oracle, etc) and develop for it alone (or you have lots off time/money to burn). You can only develop cross platform appliccations in a fairly simple way, because of all the potential gotchas between SQL implementations. Anytime you need true ACID compliance, and true data integrity guaranteed at the database level, you're stuck.

    How different this would be if ANSI SQL came not just with a specification (does this, that, etc) but also came with an extensive set of statements and results that could be compared so that there was a strong, capable baseline that would be cross platform.

    Then, establish a non-profit agency that could enforce the standard, providing three degrees of certification: ANSI SQL based, ANSI SQL compliant and ANSI SQL certified.

    "Based" would refer to an incomplete implementation of the spec. The only difference between "compliant" and "certified" being that "compliant" could execute the statements to get the desired result, and "certified" has been independently tested by the enforcement agency to ensure that the test runs right. (and a fee has been paid)

    This would be a total BOON to developers who could write ANSI-compliant statements and be confident that their stuff would work everywhere.

    There are DOZENS of gotchas in SQL. For example, if you define a UNIQUE constraint across two fields where one of the fields could be null, does the UNIQUE constraint apply to rows where one of the fields is null? According to the spec, no. But numerous database engines will enforce the uniqueness despite NULL being one of the values.

    OOPS! NULL is not a value, it's a non value. It's an "I don't know". How can that be considered in an evaluation of unique?

    Usually not important if you're running a BLOG. Can be critically important if you're keeping track of financial transactions!

    I would *LOVE* it if ANSI treated SQL like Sun proposes dealing with JAVA....

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:I don't get it. by Decaff · · Score: 2, Interesting

      How many implementations are there of Java? Sun's, IBM's (at least 2, including VisualAge), HP's (a clean-room implementation), GNU, Kaffe, TowerJ, Waba, and many, many more.
      Perl? 1
      PHP? 1
      Python? At least 3 - Python, Jython, and Python for .Net.
      Ruby? 2 - Ruby and JRuby.

      The difference is that with Java, there are compatibility tests.

  34. Open Source means No Control by Jay+Carlson · · Score: 3, Insightful

    Open Source means No Control.

    That's the core of the various free software guidelines.

    You never need to ask permission before taking some 3D library and stuffing it into an SNMP monitoring tool, and then posting it on freshmeat---where some person on the other side of the world finds it and hacks up a web interface.

    You never have to be captive to a copyright owner. If you think RMS is making poor technical decisions in FSFmacs, or XFree86 does silly things with licenses, or some guy neglects his hobby projects (ahem), you can go off on your own without begging anybody. All you have to lose is the previous name and its reputation.

    On the other hand, there are about a zillion Linux distros out there that nobody's heard of. The ultimate penalty for doing a bad fork is being ignored.

  35. Standardisation is the way by ajs318 · · Score: 4, Interesting

    All SUN need to do is approach ISO and create a new international standard for a multi-platform programming language with certain features. Then, trademark the name "Java" and stipulate that it can only be applied to a programming language conforming to international standard MIL-TBD-1111 {or whatever it ends up being called}. Finally, release the Java source under something like the GPL, which would explicitly block the likes of Microsoft from releasing closed-source derivatives {as long as this is aggressively enforced}.

    So what would the consequences be? Regular users will be able to download a package for their own distro that Will Just Work, and get on with enjoying the Java experience. Your average "meddling hobbyist" won't care too much about the name, just about the kewlness of their latest mod. Packagers will be able to pass the compatibility tests with confidence {all they'll be doing is picking sensible defaults by the standards of their distribution}. And anybody who wants to create a closed-source Java replacement with the intention gradually to reduce compatibility with the original Java release-by-release, in order to steal SUN's market share, will be f??ked.

    Sounds like a win all round really!

    --
    Je fume. Tu fumes. Nous fûmes!
  36. It works for Common Lisp by IWK · · Score: 2, Interesting

    It seems to work for Common Lisp. Although this is a "real" standard (ANSI) and not one controlled by a single commercial entity, it does resemble the proposed solution in that multiple commercial and open source implementations closely follow the defined standard. No fragmented market there.

    The case of Common Lisp is rather illuminating in that it was not actively maintained (it lacks facilities like sockets etc) so the implementors did differantiate but only there where there was no standardisation.

    And Common Lisp is a case in point where a spectaculary superior language (and not just compared with the rather crappy Java) will loose out because of an inedequate library and, perhaps, user community.

    --
    Once in a while, I even pass the Turing-Test
  37. TeX by Dunedain · · Score: 3, Interesting

    TeX works about that way -- your code must pass a test suite to be called "TeX", but otherwise it's in the public domain.

    --
    -- Brian T. Sniffen
  38. The golden bridge of a good license. by Combuchan · · Score: 3, Insightful

    To that end, we have the Lesser GPL, which would allow compiled applications themselves to be closed-source.

    It's funny you mention readline, because I seem to recall there being some disagreement about it being GPL'd as opposed to LGPL'd. In the FSF's opinion on the subject, "releasing it under the GPL and limiting its use to free programs gives our community a real boost. At least one application program is free software today specifically because that was necessary for using Readline."

    It is paradoxical here that the FSF dims their own light on behalf of their own greater good. In the case of readline, and I'm sure a possibly GPL'd java class library, is that when the license which inhibits adoption by closed-source folks who wish to develop in their own manner, these same closed-source folks will instead opt for a more restrictive/liberal alternative (depending on your point of view) that enables them to continue to do what they've been doing all along--develop closed-source software. This slows the overall adoption rate of open-source software.

    Open-source seems to grow best when it's not forced down our throats or dangled in front of us like an unattainable carrot. The ideal solution should be to showcase the power of open-source in combination with the freedom to do what you want with it, including using it in closed-source. This greatly assists open-source's wide-scale adoption. Lao Tsu said it best: "Build your enemies a golden bridge to retreat across."

    Look at GCC and friends--closed source software built on GPL'd and LGPL'd libraries released for open-source platforms such as Linux increases that platform's market share. Regardless of how you perceive Flash and RealPlayer1, they are both closed-source applications that help Linux be a better desktop OS because you can easily view a good chunk of the WWW with it without having to learn about swfdec or mplayer/xine, respectively. And people all over can move their IIS/Oracle/ASP application letter by letter to LAMP2--all because interoperability with the closed and open is possible.

    In summary, let the open and the closed comingle, because the open will certainly prevail.

    1. It should also be noted that once in the open-source world, people will be more prone to ditch those closed-source holdovers in favor of the aforementioned open-source (and many times superior) alternatives.

    2. Substitute L for F, N, O, H, as applicable. The P can stand for whatever the hell you want--I'm not getting into that tonight. ;)

    --sean

    --
    "[T]he single essential element on which all discoveries will be dependent is human freedom." -- Barry Goldwater