Slashdot Mirror


Java: One Step Closer To Open Source

Ritalin16 writes "Sun Microsystems on Monday intends to celebrate the 10th anniversary of its Java programming language by sharing the proprietary source code for several key Java applications used by corporate customers. Sun officials believe that by making the source codes open to developers, they will spur more involvement and use of Java-based applications."

20 of 318 comments (clear)

  1. Read the "fine" article, please by FortKnox · · Score: 4, Informative

    Ahh, someone who wants to make a front page slashdot article, but doesn't understand Java. What's worse? The editor that posts it, and doesn't understand java.

    The source code being released isn't "source code for several key Java applications," its the source to Sun's java application server (called "Platform Edition 9"). Other app servers you probably have heard of are WebSphere, WebLogic, and.... the open source JBoss! The reason Sun is open sourcing their app server is because no one uses it!

    If a company wants to run a giant professional website and has money to throw at it, they'll get WebLogic or WebSphere to run it. If they don't, they run tomcat (if no EJBs requried) or JBoss. No one uses Sun's app server cause its new and immature.

    This is not a step towards opening Java. The only relation this has to Java is the fact that it runs Java code and is written in Java. Just because sun open sourced it doesn't mean its thinking about open sourcing the Java lanugage.

    --
    Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    1. Re:Read the "fine" article, please by Eric+Giguere · · Score: 5, Informative

      The reason Sun is open sourcing their app server is because no one uses it!

      Sun's application server has actually been free to use (including production deployment) for quite some time now, so this further step of releasing the source code under a friendly license isn't that big a deal. Let's face it, basic application servers are pretty much commodities these days, making it hard for anyone to compete in that space. With at least three open source app server projects on the go (this one, JBoss, Geronimo) it's certainly a crowded market. It's certainly not the big deal that misleading headline makes it sound like.

      Eric
      J2ME stuff
    2. Re:Read the "fine" article, please by pete-classic · · Score: 2, Informative

      Actually, the FSF lists the CDDL as a Free Software license.

      -Peter

    3. Re:Read the "fine" article, please by FortKnox · · Score: 2, Informative

      I didn't say anything against Spring, here. I use it with hibernate for my DAO layer and struts or tapestry for my presentation layer.

      Even with these technologies, though, I still see the vast majority of companies still will go with the commercial WebSphere or WebLogic, due to the support and extra features they get.

      I'm not saying thats the smart idea (I'm a Tomcat or JBoss supporter), but that's what I see...

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
  2. Maybe I'm reading this wrong, but by AutopsyReport · · Score: 1, Informative
    "individuals had to sign an agreement under Sun's Java Research License (JRL), which restricts its use beyond research and development efforts and prohibits any internal implementations."

    Isn't the purpose of open-source to allow customizations through new implementations of said software?

    --

    For he today that sheds his blood with me shall be my brother.

  3. Re:problems with Java by mmkkbb · · Score: 2, Informative

    That could be a leak in the freenet client, no?

    --
    -mkb
  4. Re:Too late Java is not cool anymore by afd8856 · · Score: 3, Informative

    massive runtime: last I look, the NET framework had me download about 40 megs from msft (includes sp1), while java stands at about 15 megs. The installation is a lot easier than NET (I had to run net twice because of some error, plus the service pack, which I needed for my app to work.

    And I don't find any java app to be slow.

    --
    I'll do the stupid thing first and then you shy people follow...
  5. Write Once... by Mark_MF-WN · · Score: 2, Informative

    Thanks for not understanding anything about Java. Java CAN use native widgets -- check out SWT. SWT apps look great. Take Eclipse and Azureus for example: they're superb applications, they integrate well with nice shortcuts and launchers and whatnot, and they look wonderful. Even swing apps can look great if some effort is put into their design; Netbeans is a great IDE.

    1. Re:Write Once... by njcoder · · Score: 2, Informative
      I use netbeans on a similar setup. Same amount of memory and a comparable processor. I don't have a problem with it being slow. I want to get more memory because running netbeans and the appserver takes up a lot of memory which means I can't run a lot of other applications at the same time. Have the same problems with eclipse. Eclipse seems to start up with less memory but doesn't take long to catch up.

      The only really uggly thing I see in NetBeans is the properties editor window. I like the way it looks in the windows native look and feel. The new metal look and feel I think takes up a little bit more memory but in my opinion looks even nicer.

      If you're not using Java 1.5 try it, it speeds NetBeans up a bit. Also I shut down a lot of other apps/tools when I run netbeans to free up memory. Have to do this for other non Java applications I'll be working with for a long period of time as well. Try freeing up as much memory as you can then try NetBeans. It might be worth the price of an extra stick of memory.

  6. Sun still doesn't get it. by oneandoneis2 · · Score: 1, Informative
    Sun officials believe that by making the source codes open to developers

    Sun still doesn't "get" open source. Check out this interview on news.com with Scott McNealy, Sun's CEO.

    We have a strategy that's very different from everybody else's, and it's community development. The way we say that is with the S curve in all our new literature. It's not for Scott, it's not for Sun, it's for "share." We're grabbing that word and saying, of anybody, we own the word "share." We own that space.

    The oxymoron appears to have gone unnoticed. But it makes it very clear that Sun is still all about proprietary stuff. They might share it, but they still own it. And that's straight from the horse's mouth.

    --
    So.. it has come to this
  7. Re:And Again by Anonymous Coward · · Score: 1, Informative
    there's a good chance that the Apache JVM will quickly exceed Kaffe and GCJ
    You do know that major developers from Kaffe (Dalibor Topic) and GCJ (Tom Tromey) are actually part of the Harmony effort? The whole idea of the project was to work together (get the name?). Apache Harmony is currently bug free because they don't have any code. And it might very well be that they will stay bug free. The project is about cooperation and discussion of (research) ideas. Kaffe, GCJ and especially GNU Classpath is where the actual code will be produced. Rebranding it to Apache Harmony will certainly be done as a good marketing move. But everybody involved really doesn't see this as competition. Don't get fooled by people who want to see opposites everywhere. Real free software hackers work together!

    For some facts please read The Apache Harmony Blog

  8. Re:Too late Java is not cool anymore by Decaff · · Score: 5, Informative

    how the HELL do you expect an end user to run JavaApp123, when all they download is a .class file?

    Users almost never download class files. They download JAR files. JAR files can have a Main-Class property which means that with a JRE installed the user need only double-click the JAR to run it.

    Why in GODS NAME does Java NOT USE Native Widgets?

    Because native widgets can a wide range of capabilities on different platforms. The Java widgets are usually a superset of these capabilities, allowing a rich interface to be cross-platform.

    I mean, I can spot a Java application light years away.

    That is the developer's fault, not Java's. Java ships with the option to use widgets that have a very close match to the native OS widgets on platforms such as XP and MacOS/X (on the latter, they are indistinguishable). Sun is working to ensure that Java apps are completely visually compatible with Windows apps on the next version of Windows.

    It doesn't integrate cleanly in ANY regard.

    Yes it does. There is an API called JDIC (Java Desktop Integration Components) that allows very good integration with the GUI of a system, from using the 'systray' to opening native browsers and so on.

  9. Its not exactly new by cpn2000 · · Score: 2, Informative
    No one uses Sun's app server cause its new and immature

    The product name is new, the product core is not. Other names it went by include (in chronological order)

    • iPlanet Application Server
    • Netscape Application Server
    • Kiva Application Server
    --
    All you touch and all you see is all your life will ever be ... Dark side of the moon
  10. Re:Too late Java is not cool anymore by poot_rootbeer · · Score: 2, Informative

    how the HELL do you expect an end user to run JavaApp123, when all they download is a .class file?

    You could use WebStart, so that the user downloads a .jnlp file, which then automatically downloads the latest versions of all necessary .class and other files. It's pretty painless.

    Why in GODS NAME does Java NOT USE Native Widgets?

    One good reason is that many native widgets do not behave equally on different platforms. But that's beside the point, as there are plenty of desktop Java apps that DO use native widgets. Azureus and Eclipse, for two...

    My quote "Sure, you can run it, but why would you want to?"

    Because one luser bitching about the scroll buttons being the wrong shade of grey is less important than saving the developers from having to rewrite the screen management code from scratch multiple times for each target platform.

  11. !SWT.equals(Java) by mcc · · Score: 2, Informative

    SWT runs on Java the language but it is not Java itself. That is to say, it is not part of the Java platform. It is a product of IBM-- it's a third party library-- and is not promoted or supported by Sun. If he wants to complain about the Java language maybe he's being unreasonable, but if he wants to complain about Sun's Java then things are quite different.

  12. Re:Too late Java is not cool anymore by afd8856 · · Score: 2, Informative

    Of what you've listed, I've used only eclipse. Really, I don't find it slow for what it does compared to any other complex application. Have you looked at dreamweaver, ilustrator, or any other modern complex application and see how slow they are? And there's no java to blame there. Being slow is a consequence of today's complexity and modern development techniques, you simply can't say "Java" and expect it to mean "slow".

    For simple apps to medium apps, java is not slow. I can mention here azureus, sanchez, jedit, hot potato, freemind, some custom apps that I have met in my work, etc.

    --
    I'll do the stupid thing first and then you shy people follow...
  13. Re:Too late Java is not cool anymore by LittLe3Lue · · Score: 2, Informative

    Oracle, Slow?

    Are you mad?

    Sure, the instalation software is crap, but I dont think you can blame java directly.
    If I wasn't at work I would do a little googling around for performance comparisons.
    For reasons like your statement above I did some research a year ago as I was doing some java development to see just how slow java was, and, yes, the first many releases of java were quite slow, but the latest version are not.

    Sure, its not as speedy as a C program, but its not designed to be. Ill take the developement cycle and portability ease in most situation that dont require absolute speed.

    I have done solar simulations in java with advanced mathematics and OpenGL and they have been very speedy. Just need to do it proper.

    Bah.
    Here.
    This is just one of many articles actually comparing performace: Take a look at the benchmarks, SciMark 2.0 (in Java, C# and C) being the easiest to deduce results.

    Clearly Java is faster than even C in some cases, and almost always faster than C#. Momo doesnt even compare, so portability is very inefficient.

    Java is awsome, for the right purposes. Dont bash it.

  14. Re:Too late Java is not cool anymore by dnoyeb · · Score: 2, Informative

    "Sure, its not as speedy as a C program,"

    Actually, it _is_ a C program. Only the GUI was ever slow, and that was over 10 years ago. Anyone that calls Java slow today is either ignorant or trolling.

    I use Eclipse and its not slow either. Its funny to even call Eclipse slow as it uses native widgets for even faster (but mainly more native looking) operation.

    I think he was just a troll.

  15. Re:Too late Java is not cool anymore by The_Dougster · · Score: 2, Informative
    Sure, its not as speedy as a C program, but its not designed to be. Ill take the developement cycle and portability ease in most situation that dont require absolute speed.

    That's a pretty good summation of how I feel about it. I use Python if I really don't care about the execution speed and want the quickest development times. Java is a step up the rung and its much more suitable for use in business environments.

    Python is great for a quick and dirty implementation, and C++ is good if you are making a commercial product, but if your app is going to be used by your average corporate shmuck for an in-house system then Java is a smart choice. Java based database frontends are easy to maintain, robust, and very professional looking, and this is where Java shines most brightly I think.

    --
    Clickety Click ...
  16. Re:Eclipse relies on non-Sun native libraries SWT. by tolkienfan · · Score: 2, Informative
    SWT exists because AWT and Swing didn't meet the needs of the project.
    If Sun had been sensible with Swing, it could have produced something responsive and useful like SWT.
    IF SWT were part of the Java runtime, would you make the same point?

    All GUI features have to hook into the OSes graphics library at some point - making them native.
    Third party native hooks versus built-in hooks - a bit of a fine line there. Especially since SWT runs on most platforms, and platforms that aren't supported could be ported since SWT is OSS.