1. Introduction to Java Programming : What is java ?

What is java ?

Java is a high-level, class-based, object-oriented programming language designed to minimize implementation dependencies. Its goal is to enable developers to write code once and run it anywhere (WORA), meaning that compiled Java code can execute on any platform with Java support without requiring recompilation.


Why to learn java?

1) Simple - Java is designed to be easy to learn and use. Its syntax is clean and easy to understand, making it a good choice for beginners and experienced developers alike.


2) Object - Oriented:  Java follows the object-oriented programming (OOP) model, which helps break down complex programs into simpler, reusable units called objects.


3) Platform - Independent: Java programs are compiled into bytecode, which can be run on any device equipped with the Java Virtual Machine   (JVM). This makes Java platform-independent, as the same code can run on different operating systems (Windows, MacOS, Linux, etc.) without modification.


4) Robust - Java has strong memory management, exception handling, and a type-checking mechanism that makes it robust and reduces the chances of errors during runtime.


5) Multithreaded - Java supports multithreading, which allows for the development of programs that can perform many tasks simultaneously.


6) Portable - The platform independence of Java at both the source and binary levels makes it portable. Java ensures that programs can be easily moved and run on different platforms without modifications.



History 

Before we dive into Java programming, it’s important to understand its origins and how it became one of the most popular programming languages today.


In the early 1990s, Sun Microsystems was a company known for creating innovative electronic products. Recognizing the need for a technology that could be used in electronic products and shared with others, they decided to develop something groundbreaking. In 1991, Sun Microsystems formed a small team called the Green Team, which included three talented engineers: James Gosling, Patrick Naughton, and Mike Sheridan. James Gosling, the head of the team, led the efforts.

The Green Team's mission was to create a new programming language that would make it easier to develop software for various consumer electronics. They wanted this language to be platform-independent, meaning it could run on any device without needing changes. This was different from existing languages that were usually tied to specific hardware.

Initially, they named the technology Green Talk, but they soon realized the name was not very appealing or catchy. They decided it needed a better name. During one brainstorming session, one of the team members stepped out of the office and noticed an oak tree in the garden. Inspired by the tree, they decided to rename the technology Oak. However, they later discovered that the name "Oak" was already taken by another company. This meant they had to find a new name once again. The search for a new name became a long and challenging task. During one lengthy board meeting dedicated to brainstorming names, they couldn't come up with anything suitable. Frustrated and tired, they decided to take a break. During the break, they were served coffee by their office assistant. One of the team members noticed the word "Java" on a coffee mug and suggested, "Why don't we name our technology Java? It's new and catchy." The team agreed that "Java" was a great name, and from that moment i.e 1995, their new programming language was called Java. Today, Java is recognized worldwide as a powerful and versatile programming language.

JAMES GOSLING                   PATRICK NAUGHTON                 MIKE SHERIDAN

 
As Java became popular, many companies started using the technology. Sun Microsystems gained fame and wealth. At one point, the now-giant tech company Google approached Sun Microsystems, seeking investment. However, Sun Microsystems declined the opportunity. Despite their success, Sun Microsystems eventually faced internal challenges. Poor decisions by the board led to financial difficulties, and the company went bankrupt. In a significant turn of events, Oracle Corporation acquired Sun Microsystems. Even their office was sold and is now occupied by another tech giant, Meta (formerly known as Facebook).

The story of Sun Microsystems and the Green Team is a great example of how creativity and persistence can lead to amazing innovations. Thanks to their hard work and a chance coffee break, we now have Java, a language that has transformed the world of software development. Despite the company's eventual downfall, the legacy of Java continues to live on, shaping the future of technology.


Comments

Post a Comment