Slashdot Mirror


How Much Java in the Linux World?

jg21 writes "Java is 'incredibly heavily used' in the Linux community, according to Sun's James Gosling, one of Java's co-creators. Gosling was debating Stanford's Lawrence Lessig, Apache co-founder Brian Behlendorf, IBM's Rod Smith, and others at JavaOne this week about the possible merits of open-sourcing Java vs the market's demand for continuing compatibility. But Behlendorf seemed not to agree. So who was right, how many Slashdotters are also Java users? Is "incredibly heavily used" an overstatement by Gosling, who after all helped create the language and therefore might be biased?"

11 of 601 comments (clear)

  1. Yes at least in Apache world by unixmaster · · Score: 4, Informative

    Check out http://jakarta.apache.org . All of projects are under Java and they are highly sophisticated open source project. Also some of http://xml.apache.org projects are under Java too. So I say not maybe highest usage but sophisticated apps are written under Java and most of them are open source.

    --
    Never learn by your mistakes, if you do you may never dare to try again
    1. Re:Yes at least in Apache world by wario78 · · Score: 5, Informative
      if you look at their main site, http://www.apache.org , where Jakarta is just one menu item out of 23

      True, but many of those 23 items are former Jakarta projects that have been promoted to become top-level projects. Looking at it that way, 11 (Ant, Avalon, Cocoon, DB, Forrest, Geronimo, James, Maven, Portals, Struts & Web Services) top-level Apache projects are purely Java-based. Gavin

  2. Not just for linux though by WebMasterP · · Score: 5, Informative

    I develop radar software and I'm writing it in Java. This is done for cross-platorm compatibility though, not just because I want to run it on Linux.

  3. Incredible, indeed by Anonymous Coward · · Score: 5, Informative

    I was surprised to learn that Java is used more than Perl or C++ in projects listed on freshmeat.net.

  4. Re:C/C++, not java by Pieroxy · · Score: 5, Informative

    How many enterprise web application do you know that is written in C/C++? Cause that's where the money is these days....

  5. How many projects? by Simon+(S2) · · Score: 5, Informative

    Just have a look at the projects hosted on sf.
    There are 12588 projects in Java. Right behind the 13922 in C++ and the 13785 in C.

    So I guess, Java IS used a lot.

    --
    I just don't trust anything that bleeds for five days and doesn't die.
  6. It's heavily used in some areas. by arcade · · Score: 4, Informative

    Java is indeed heavily used - in some areas. It's in extreme usage "server-side", and many people develop applications in Java - for servers.

    On the client, however, you'll find it far less often. I use a java client when no other alternatives exist. Java has always been an incredible memory hog for me. I don't like using java on the client. It's mostly slow and unresponsive.

    Personally I vastly prefer to use C or C++ programs, as they tend to be much nicer to use. In addition, they tend to have the same interface as the rest of the programs in my desktop environments. ;)

    --
    "Rune Kristian Viken" - http://www.nwo.no - arca
  7. incredibly heavily, not most heavily by AnEmbodiedMind · · Score: 4, Informative

    He said "Java is 'incredibly heavily used' in the Linux community", not that it is the "most heavily used language".

    A subtle but important difference.

  8. Java, because it has that many good working libs by the_emmy · · Score: 4, Informative
    I'm using Java when ever possible (i.e. when I have to choose the plattform). The two main reasons for this are:
    • There are many very great libraries. E.g. OJB is a great database layer and SWT can create nice GUIs. All these Apache Common Tools are also very great and allow quick application development.
    • Eclipse is the best IDE I ever saw. The great refactoring features and the hot code replace speed up development immensely.
    Sometimes I'm not the own who chooses the plattform of a project. In the last years these projects were all .NET/C# projects. .NET/C# is not that bad, but some libs are bad documented (e.g. ASP.NET) or limited (ADO.NET -- one cursor open per connection ?!?!) so you have to build workarounds and own libraries. Also the development environment is not bad, but it has no refactoring, eats memory like hell and is dog slow.
  9. Re:Exactly - Java is not about the O/S by Dr.+Evil · · Score: 4, Informative

    C++ has this nice thing called Operator Overloading, "==" can be assigned to a method. Java does not do operator overloads, it's a PITA for people who are used to having the feature.

    Just to give you an idea, you could take a class like CheeseDoodle, and assign an operator== such that if a CheeseDoodle instance is compared with an integer, it will call a method which compares CheeseDoodle.quantity with the supplied integer. But if a CheeseDoodle is compared with a PotatoChip, you could choose to write a method which would declare it true or false depending on various properties of the particular instance of the CheeseDoodle or a particular instance of the PotatoChip.

    Suddenly your
    if (cheeseDoodle.quantity().isEqual(thingamajig))...;
    if (cheeseDoodle.snackfoodindex().isEqual(potatoeChip .snackfoodindex()))...;
    becomes :
    if (cheeseDoodle == thingamajig) ...;
    if (cheeseDoodle == potatoeChip) ...;

    Yeah, it can be abused an obfuscated, I think that might be why Java avoids it, but it is damn handy.

  10. Re:C/C++, not java by halowolf · · Score: 4, Informative
    What complexity?

    Why the compounding of a task into another task to achieve the same result. Running the scripts I require to run through Java adds another step to running them that I do not require. Therefore it is a solution to a problem that is more complex than alternate solutions that exist to the same problem.

    How is that complex?

    It is more complex than what I require. Since you do not know what I do, you are hardly in a position to judge. I on the other hand can readily judge whether running my scripts through Java is something that I require. Believe me, its not.

    Is that complex?

    No, and this is where things get delicious, I'm talking about scripting, you know, writing text files with commands in them that you launch using a command interpreter of some kind. Not running a command prompt that the so called "Examples" of yours show. Its actually more complex to call a script from Java than your poor examples reflect. How about a link to demonstrate: BeanShell Example - Calling scripts from Java

    If it is, I think you should be careful about what problems you are trying to solve. Stick to simple ones.

    I think that you should perhaps take some of your own advice. I know how to run a command prompt, I know how to run a script, I know how to run Java. Some other advice I would offer would be to actually not insult people in a public forum. You might not be prepared for the consequences.