aspose file tools*
The moose likes Beginning Java and the fly likes The biggest  project by java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "The biggest  project by java" Watch "The biggest  project by java" New topic
Author

The biggest project by java

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
What're the biggest project has been done yet by java
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42272
    
  64
Who's to know? Companies don't generally advertise their internal IT efforts.


Ping & DNS - my free Android networking tools app
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

What does google tell you?

And how do you measure how "big" a project is? How many lines of code? How many requests per day it processes? How much revenue it generates? How much data it manages?

Seems a rather pointless question to me. A more reasonable question might be, "Is Java suitable for multi-tiered, distributed, enterprise applications?" to which the answer is "Yes, but whether it's suitable for your application, or parts of it, depends on many factors."
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

I can tell you my company has a 10 year old Java based Insurance management system, which is a nightmare to maintain!

Whether it's the biggest or not, it needs to be modularized (one huge war) 43.5 Mb!

WP
abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
I discussed with someone who contends C++ is better because there big projects Like OS that are written with C++, I want to know 7-8 big projects that are written by JAVA, In order to answer.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

abalfazl hossein wrote:I discussed with someone who contends C++ is better because there big projects Like OS that are written with C++, I want to know 7-8 big projects that are written by JAVA, In order to answer.


Many (if not most) large projects that I worked on has components written in both C++ and Java, along with lots of other languages.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
May you tell me name of projects?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

abalfazl hossein wrote:May you tell me name of projects?

The name of the project isn't going to help you. It's likely an internal system you haven't heard of. My company uses Java for very large enterprise Java projects as well. If I tell you , a project has been in production 10 years and is named ABC; how does that help you? Techies love acronyms! Also, a lot of financial companies have non-disclosures preventing their project info be used.

If you absolutely need to point to specific projects:
1) Try a job board and searching for large financial companies.
2) Looks at resumes. People put a lot of information about projects they worked on here.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8008
    
  22

abalfazl hossein wrote:I discussed with someone who contends C++ is better because there big projects Like OS that are written with C++, I want to know 7-8 big projects that are written by JAVA, In order to answer.

Why? That's like comparing willy sizes.

My answer would be that, according to TIOBE (Nov. 2012), Java has almost twice the market share of C++; so probability dictates that there are likely twice as many large projects written in Java as C++. If s/he wants to dispute that, let them come up with the evidence.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

abalfazl hossein wrote:I discussed with someone who contends C++ is better because there big projects Like OS that are written with C++,


Then he's talking nonsense for at least 2 reasons.

1) It's ridiculous to measure a language's value by the size of projects written using that language (even if there was an agreed upon, meaningful measure of "project size")

2) It's ridiculous to think that there is such a thing as one language being simply "better" than the other. Each one has its strengths and weaknesses, and each one is more suitable than the other in some contexts and less suitable in other contexts.

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
For example,The Windows 7 kernel alone contains at least 2085772 lines of code. Windows is written by C. What about JAVA?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

abalfazl hossein wrote:For example,The Windows 7 kernel alone contains at least 2085772 lines of code. Windows is written by C. What about JAVA?


You're still missing the point that it's a meaningless question, especially for the way you and your friend are trying to use it.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

abalfazl hossein wrote:For example,The Windows 7 kernel alone contains at least 2085772 lines of code. Windows is written by C. What about JAVA?


Having worked on the JVM itself (for a company that licensed the JVM from Sun), I can say that ... Most of the JVM code is in C. There are also components written in C++, and assembly (which means for all the different CPU architectures supported). The build is done with Make scripts, which has some components in perl, sed/awk, and of course, Java. The libraries are written in mostly Java, with C for the low level JNI stuff. The compiler is written in Java. We also had a debugger/profiler that used browsers, so add HTML/CSS, JavaScript, and XML/XSLT to the list too.

The interesting part was how the JVM implemented properties -- it used C, but it was highly going though the C preprocessor, which kinda made it look like a different language entirely.

Also... forgot to mention ... there were one component that was done in Python, which I tried to avoid working on at all cost ... ... just kidding.

Henry
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42272
    
  64
As Jeff said, each language has its strengths and weaknesses. Java is not a systems programming language, so the comparison to the Windows OS is moot.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

abalfazl hossein wrote:For example,The Windows 7 kernel alone contains at least 2085772 lines of code. Windows is written by C.

The kernel of most operating systems are written in C. C is a language designed to write operating systems and systems utilities. C was designed in parallel with Unix in the time when a DEC PDP-11 was a widely used computer.

Other languages have been used to write operating systems over the years. Recently Google released the GO language aimed at this same problem space.

As others have written, the question is meaningless and more importantly, I think it reflects a poor understanding of what is important in this field.

If you or your friend don't like Java, there are many other languages to use. Many companies hire programmers to write Java. But if you don't like Java, don't join those companies, find a company that uses a language you like, say Python, PHP, etc.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11402
    
  16

isn't asking a question like this similar to asking "which carpenter's tool is used more? I've read that more nails have been driven in with hammers than crescent wrenches, so hammers must be better." And while hammers may be better tools than crescent wrenches FOR DRIVING IN NAILS, I can tell you that hammers absolutely SUCK when it comes to tightening a nut.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Red Smith
Ranch Hand

Joined: Aug 05, 2007
Posts: 136
    
    1
One question that could be answered is which are the biggest Open Source projects in Java. Eclipse and Netbeans are the first two candidates I can think of.
abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
Windows XP itself had 45 million lines of code. Do you know five java project that have more code than that?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Lines of code is hardly a good metric to measure anything. I can write the same algorithm in one line, or spread it over more than a dozen.

What is the point you are trying to make in the first place?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

abalfazl hossein wrote:Windows XP itself had 45 million lines of code. Do you know five java project that have more code than that?


Why do you think that matters?

When you're going to develop a new piece of software, do you start by saying, "Let's, see, it will be about X lines of code, so I will use language Y"?

And do you really think that how "good" a language is has anything to do with how many lines of code a given project written in that language comprises?

And what about code that a project uses that wasn't written as part of that project? If I write a 10,000-line library that's used extensively by 1,000,000 different projects, each of which are only 1,000 lines themselves, does that count more or less than 500,000 projects of 5,000 lines each that don't use the library? And why?

Seriously, how is it that you have not grasped how pointless it is to keep barking up this tree.

Bottom line: Java is good for some things that C++ sucks at. C++ is good for some things that Java sucks at. And there is a huge overlap of project that could be done equally well in either language, and the decision will be based on multiple criteria, many of which have nothing to do with the language itself but rather take into account external factors.

There's no point whatsoever in debating where Java is "better than" or "worse than" C++. It's a meaningless question.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Bear Bibeault wrote:Lines of code is hardly a good metric to measure anything. I can write the same algorithm in one line, or spread it over more than a dozen.


I hereby define 2 new languages, JV1 and JV2.

JV1 is defined to be exactly the same as C++, except that if a source file consists exactly of , it will produce exactly the same output as compiling the entire XP C++ codebase. I can write XP in this language, and it will only be a single line. Therefore, by the OP's logic, this language is vastly inferior to C++.

JV2 is defined to be exactly the same as C++, except that for every keyword, token, and operator in C++ the corresponding one in JV2 consists of the coresponding C++ token, then a newline, then the characters JV. So, for instance would be written as


I can write XP in this language, and it will take many times more than 45 million lines. Therefore, by the OP's logic, this language is vastly superior to C++.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

Here's another metric: the company I work for processes roughly 6 billion dollars of orders annually through a Java program which I wrote. Does that make it a big project?

(For what it's worth, it's the worst Java program I ever wrote, and it was translated from an equally bad Visual Basic program. Does that make a difference?)
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

I once wrote a program in Python that produced required documentation for millions or tens of millions of dollars worth of financial transactions daily. It was a horribly written program, and probably no more than 2,000 lines total. But it saved tens of man-hours of work every day, and its output was far more accurate than what the department's human workers had been producing up until then. How many "goodness points" does that give Python? If I had used 4,000 lines to do the same task, would it be twice as many goodness points?
Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2397
    
  28

At a previous job, I wrote software in Java that was used by hospitals. It helped saved lives, dammit. My program is bigger than yours.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

@abalfazl hossein: After all this, I hope that you can see the point that the size of the projects built with a language is not a valid way to measure how "good" a language is.

However, I understand where you're coming from. You're wondering if Java's features make it suitable for large-scale, "serious" projects. The answer to that is, yes, Java is suitable for these kinds of projects. Whether it's suitable for a particular project depends on many factors specific to that project.

As I said way back in the beginning of this thread: A more reasonable question might be, "Is Java suitable for multi-tiered, distributed, enterprise applications?" to which the answer is "Yes, but whether it's suitable for your application, or parts of it, depends on many factors."

So, if your question is not totally answered at this point, please clarify what you're really trying to learn. Don't keep asking about the size of Java projects. That's clearly getting you nowhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The biggest project by java