JAVA INTRODUCTION

Java is one of the most widely adopted popular programming language as of 2020. It is widely used in developing mobile apps, desktop apps, games and many more. There are approximately nine million Java developers around the globe. Let us Learn more about Java.

Table of Contents

[hide]
  • What is Java
  • History of Java
  • Application of Java
  • Types of Java Application

What is Java

Java is a high level, robust and secure programming language that enforces an object-oriented programming model.

Java is a platform independent language that follows the logic of WORA("Write once, Run anywhere"). This means that the programmer can develop a piece of code on his / her system and expect it to run on any other Java-enabled systems. This is done by JVM(Java Virtual Machine) which we will discuss in later tutorials.

Syntax of Java is almost same as that of C/C++. But java does not support low-level programming functions like pointers instead Java code is written in the form of Classes and objects.

Definition of Key Terms

Programming language

A programming language is a formal language which includes a set of instructions producing different types of output.

Platform

Any hardware or software environment,a program is running in is known as a platform. It is called a platform because Java has a runtime environment (JRE).

Write once,Run anywhere

Piece of code written on one system that can be expected to run on any other java-enabled system.

History of Java

Java project was started in 1991 at Sun Microsystems(which has since been acquired by Oracle) by team called Green Team led by James Ghosling who is reffered to as the Father of the Java programming. Other team mates includes Patrick Naughton and Mike Sheridan. It took them around 17-18 months to develop the first working version.

The term was first called OAK after an oak tree stood outside Gosling 's office. Moreover OAK is a symbol of strength and a national tree in many other countries. Later the name changed to JAVA in 1995 because OAK was already a trademark occupied by another Tech company.

Initially Green Team designed this project for small, embedded systems in electronic devices and was then called by the name "Greentalk" with the file extension .gt. After that it was called OAK which was developed as a part of Green project.

Why named "JAVA" ?

According to James Gosling, "Java along with Silk was one of the top options". Since they wanted a unique and easy to spell name, all team member preferred Java than any other names

Java is an indonesian island where the first coffee named (java coffee) was produced. It's something of an espresso bean. James Gosling chose the name Java while having a coffee near his office.

In 1995 the Time magazine made Java one of the best products.

Application of Java

The Java language has been the cornerstone of millions of multi-platform apps like Windows, Mac, Unix, Android-based smart devices, embedded systems and corporate solutions. Most business programs use Java to script and execute applications, which proves to be one of the quickest evolving and commonly utilized programming languages

Here are the different types of Java-based applications :

Here are the different types of Java-based applications:

Desktop GUI Applications

Desktop applications can be conveniently built using Java. To create such programs,we use APIs such as AWT,Swing,JavaFX.
Examples of desktop GUI applications are Acrobat Reader,Media Player,Antiviruses,etc.

Big Data Technologies

The word Big data is one of the most up-to-date subjects in the world of information technology. This applies to the manner in which knowledge is processed and consistently derived from diverse data sets. Java is a vision for big data.
The open source framework for big data called Hadoop is written in Java.

Web-based Applications

Java supports web applications through Servlets,Struts,or JSPs. We can create some type of web application with the aid of these technologies.
Example of java web applications are irctc.co.in,linkdin.com(partially)

Cloud-based Applications

There is a broad variety of Java Application creation resources,such as the Oracle Java application framework,which acts as a forum for building and configuring the Oracle WebLogic Server and the application system without any difficulties.
Example includes Oracle Java application framework

Enterprise Applications

Banking applications

Digital and Electronic Devices

Devices such as GPIO,SPI,or I2C require contact with sensors and actuators. With the support of open source libraries,Java allows it simple to use such interfaces.

Gaming and Animation

Java is one of the best platforms for developing 2D Games.

Types of Java Applications

There are basically four categories of applications that can be built using Java programming:

Standalone Application

Standalone applications are traditional software that is installed on each client system. They are also referred to as desktop or window-based applications.

It does not require operating systems process, user can use any operating system of their choice in the system. The data usually reside on central server so that user gets synchronized data.

Example In your college computer lab there are 20 systems, a separate application must be installed on each of these systems. However, if there is a central server in the college premises, the data can be stored on this network which is connected to each of the applications. In this way, the 20 systems get modified real-time data about their program.

Web Application

A web application is a computer program that uses web browsers and web technology to perform tasks over the Internet.

Web applications are usually written in browser-supported language such as JavaScript and HTML, since these languages depend on the browser to render the program executable. Some of the applications are complex, and need processing on the server side. Others are fully static at the server without any processing needed.

Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used to create Java web applications.

Enterprise Application

Developers are becoming more and more conscious of the need for distributed, transactional and portable applications that leverage speed, security and server reliability. Enterprise applications provide the business logic for an enterprise.

In the area of information technology, enterprise application need to be designed, built and assembled with reduced prices, greater efficiency and fewer assets. Example banking applications.

Enterprise Java Beans (EJB), Java Message Service (JMS), Java Persistence API (JPA), Java Transaction API (JTA), and Java Server Faces (JSF) make up the collection of modular tools that enable enterprise needs.

Mobile Application

Applications that run on mobile devices are known as Mobile Application. J2ME is a cross-platform framework to build applications that run across all Java supported devices, including smartphones

Also, The Android Software Development Kit (SDK) can also be used to build Smartphone applications on simple terms.

Next