What Is Java:-
Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language.
Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java.
⇒ Defination :-
1. JAVA Programming Language :-
Java is High Level Programming Language. It drives much of its syntax from C and C++, But it has fewer low-level facilities than C and C++.
2. Platform :-
Java is a Platform because it has its own run time environment that is JVM(Java Virtual Machine). JVM provides a platform which accepts the byte code and executes on the machine.
According to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:
- Desktop Applications such as acrobat reader, media player, antivirus, etc.
- Web Applications such as irctc.co.in, javatpoint.com, etc.
- Enterprise Applications such as banking applications.
- Embedded System
- Smart Card
- Games, etc.
Types of Java Applications
There are mainly 4 types of applications that can be created using Java programming:
1) Standalone Application
Standalone applications are also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine. Examples of standalone application are Media player, antivirus, etc. AWT and Swing are used in Java for creating standalone applications.
2) Web Application
An application that runs on the server side and creates a dynamic page is called a web application. Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web applications in Java.
3) Enterprise Application
An application that is distributed in nature, such as banking applications, etc. is called an enterprise application. It has advantages like high-level security, load balancing, and clustering. In Java, EJB is used for creating enterprise applications.
4) Mobile Application
An application which is created for mobile devices is called a mobile application. Currently, Android and Java ME are used for creating mobile applications.
History Of Java:-
Below is the proper history and versions of java year wise…
- JDK Alpha and Beta (1995)
- JDK 1.0 (23rd Jan 1996)
- JDK 1.1 (19th Feb 1997)
- J2SE 1.2 (8th Dec 1998)
- J2SE 1.3 (8th May 2000)
- J2SE 1.4 (6th Feb 2002)
- J2SE 5.0 (30th Sep 2004)
- Java SE 6 (11th Dec 2006)
- Java SE 7 (28th July 2011)
- Java SE 8 (18th Mar 2014)
- Java SE 9 (21st Sep 2017)
- Java SE 10 (20th Mar 2018)
- Java SE 11 (September 2018)
- Java SE 12 (March 2019)
- Java SE 13 (September 2019)
- Java SE 14 (Mar 2020)
- Java SE 15 (September 2020)
- Java SE 16 (Mar 2021)
- Java SE 17 (September 2021)
- Java SE 18 (to be released by March 2022)
Since Java SE 8 release, the Oracle corporation follows a pattern in which every even version is release in March month and an odd version released in September month.
Use Of Java:-
1. Android Apps :-
Java has a rich use in Android Applications. Open your Android Phones and any app, they are actually written in java programming language, with Google’s API, which is similar to JDK(DVM in android). Couple of years back Android has provided much needed boost and today many java programmer are Android App developer.
2. Financial Services Industries :-
Java is very big in Financial Services which demands more security. API’s of Data Processing & payment Gateways are created in java. It is mostly used to write server side application, mostly without any front end, which recieves data from one server (upstream), process it and sends it other process (downstream).
3. Java Web Application :-
Java is also big on e-commerce and web application space. Java frameworks i.e. Spring MVC, Struts 2.0 and other frameworks are used for this web applications. Many of government, healthcare, insurance, education, defence and several other department have thier web application built in Java.
4. Software Tools :-
Many useful software and development tools are written and developed in java e.g. Netbeans, Eclipse and InetelliJ IDE. They are also most used desktop applications for development of java and other languages.
5. Big Data Technologies :-
Many social networking websites like facebook, twitter etc. and e-commerce websites generates a lot of data day to day. So to manage this huge amount of data, Hadoop and other big data technologies are developed using java only. So java plays an important role for big data technologies.
6. Scientific Application :-
As java is more safe, portable, maintainable and comes with better high-level concurrency tools than c++ or any other language therefore java is often a default choice for scientific application, including natural language processing.
7. J2ME Apps :-
There was time when Nokia and Samsung handsets had a large market which uses J2ME. At that time almost all games, application, which is available in android are written using MIDP and CLDC, part of J2ME platform.
8. Embedded System :-
Java is also used in embedded systems. Computers, Printers, Routers, ATM’s, Home Security systems etc. all uses java a lot.
Do You Know?
- What is the difference between JRE and JVM?
- What is the purpose of JIT compiler?
- Can we save the java source file without any name?
- Why java uses the concept of Unicode system?
What will we learn in Basics of Java?