The java programming language is becoming more and more popular each day. It is the language without which one cannot even hope to a land a job these days. But has somebody even wondered how this language came about? There are many stories about, many books have been written. Here is my version (not approved by Sun Microsystems).
The java programming language originated in Indonesia. It was meant to be used by the tourists that visit that country each year. Why would tourists want to use computer? Well, these are no ordinary tourists. They are rich tourists. Have they not been rich, they would not travel half way around the world to visit this place. Most people would be content to see just what is available near by. For example, if you are a texan living in Dallas, you will visit the stockyards or may be the trinity river park. If you live in New Orleans area, you would see st. mary's bayou. Once in your lifetime, one will probably visit Hawaii or Niagara. But going to Indonesia and its islands, Bali, Java, etc is not for the ordinary people. Anyway, coming back to the question why these tourists need to use computer programs. They go there not just to have fun and also get some work done in a fun atmosphere as these people are very important people.
From the very start java was supposed to be computer independent. That means if you write a program in java in one computer, it should run in all computers. This was necessary because tourists bring all kinds of computers with them. Some bring Windows machine, some Apple mackintosh. Some of the affluent ones bring Sun server workstations or even a super computer.
Before starting to create java they also sought to see if there have similar stuff done already. Even though they could find none, they found they can use lots of feature from some existing laguages. One such language they found was C++. C++ was an advancement over the language called C. In fact, ideas of C++ was already hidden in C. In that language, one can increment a variable, say i, by applying the ++ operator e.g. i++. This would increase the value of the variable i by one. If i had a value of 5, it would make it 6, etc. What a vision!
Anyway, coming back to C++, it made an important advancement over C by introducing the idea of a class. To understand class, one has to undestand structure which was already used in C. The structure is a group of variables. For example, you have a name, an address, age etc. for any person. In stead of using them separately, in C one can group them together and call it a person. The creator of C++ said there is no need to expose these variables (name, address, etc) to the outside world. They said these details should be hidden from the outside world. They called this concept encapsulation.
Another important contribution of C++ was the concept of inheritence. This concept can be best explained by example. Let's go back to the example of the person. A person is very general concept. There can be many different kinds of persons, e.g doctors, lawyers, teachers, or just a bum! But each of these people have a name, an address, age etc. Even a bum has all these. The creator of C++ thought one can define a base class call person and other classes can be derived from it. In plain english, this would mean, a doctor is special kind of person, lawyer is another special kind of person. Now the common attributes of all these kinds of people can be put in the person class and special attributes can be put in the derived classes, e.g. hospital for the doctor, court for the lawyer, and nothing for the bum.
But C++ was still complex with things like pointers, memory leak and multiple inheritence. The pointer concept was taken from C and it was very messy! The pointer is special type of variable that points to other variables. Since there was no guidelines as to how to use these pointers, it was very easy loose track of them. In a typical two thousand lines program, one would frequently end up with hundredes of pointers pointing to thousands, some of them are pointers and some just plain variables. Needless to say this made a large program extremely difficult to read and when the programmer left for another company, they would have no other choice than to just throw away his program! It was sometimes necessary to do this even when the programmer was around and very much alive. This is because the pointers he created inside his program had taken a life of their own and defy every attempt to predict how the program should behave. Memory management was also another weak point of C and C++. The programmer was responsible for cleaning up the memory their program would allocate and use. Failure to do so will result in a crash of the whole computer.
Multiple inheritence, though sparingly used, was another feature of C++ which made a programmer's life miserable. It, however, had its use, especially in job interviews. This one question, they thought, helped them separate the wheat from the chaff.
But C++ still had some nice and simple features, like inheritence, encapsulation, etc. They are something one can describe in plain english, something one can explain to a layman. So the creator of java decided to take the good features of inherience, encapsulation, and polymorphism from C++, while discarding the bad features such as multiple inherience, pointers etc. The memory management was improved in java where the programmer will not be held responsible for memory management. They can clean up after themselves if they want to get extra credit, but they do not need to. Needless to say all these was great news to the tourists in Indonesia!
Java introduced lot of clarity in notations too. For example, in C++ they would say class doctor:person to mean doctor is derived from person. It is obviously very cryptic. The same situation can be expressed in java as class doctor extends person , which is much easier to understand. But there are few awkward stuff in java too especially when someone says class bum extends person (my last bum joke)!
Java made an important contribution in the graphical user interface (GUI) area. C++ was really lacking in expertise here. They visual C++, but worked only on windows environment. But it did not work in UNIX systems or mackintoshes. Just like other features of java, this was also supposed to be platform independent. This was further necessary because one can put some little GUI on a web page which can be views over the internet. And one cannot control what kind of computers other will have.
After a while, it was necessary to call programs from one computer to another computer. To do this, they created J2EE. I am not sure how they came up with the name J2EE. The 'J' of J2EE, of course, means "Java", and I can be reasonably sure '2' stands for 'To'. But I do not know what the 'EE' part is all about, probably some kind of extension. Or at this point they ran out of names to think of. So they decided to have one of those just another vague acronyms.
If you would like, you can also visit my home page.
Copyright © 2003 Gautam Dev. All rights reserved
IntroductionSurprised, by the title? well, this is a tour of... Read More
One of the main reasons business owners and entrepreneurs use... Read More
Java has come along a long way. Many would agree... Read More
XML Server can be a Web Server that stores the... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
The most important benefit of XML is its simplicity. Though... Read More
A wiki is an editable text-based website. But you don't... Read More
There are certain pluses and minuses in both cases and... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
It's not very often I get excited about a software... Read More
The software giants don't do everything and don't always produce... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
New post-recession era has new features, which didn't exist in... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
So, why should you use any O/R mapping tool? I... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
As we could imagine, if you are reading this article... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Are you a whiz at calculating financial information? Not the... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
As you probably know, when Microsoft purchased Great Plains Software... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
I completed an experiment recently. I wanted to find out... Read More
Remember old good days when your company probably had Great... Read More
Costs of fleet maintenance software can vary widely. It is... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
If you are to buy a HelpDesk & Asset Management... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
Shareware is software that you can try before you buy;... Read More
It's not very often I get excited about a software... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
The US House of Representatives has recently passed the "Spy... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
New post-recession era has new features, which didn't exist in... Read More
Software development is a risky business.Many software developers are barely... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Domino server is a buffer between the operation system and... Read More
With many manufacturing shops heading over seas in favor of... Read More
Your computer cost you from hundreds to thousands of dollars,... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
The title of "software engineer" has got to be among... Read More
We all already got used to computer monitoring both at... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
Viruses and spyware usually show up on your computer one... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Trying to figure out a stream in banning one email... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
I like my software simple. If it's too complex or... Read More
We were recently faced with a decision: either to let... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
The Internet is reshaping every form of communications medium, and... Read More
Stealing company information used to be the specialty of spies... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Software |