DEV Community

Cover image for Let's Begin JAVA
Ramya Kamalasekaran
Ramya Kamalasekaran

Posted on • Edited on

Let's Begin JAVA

What is JAVA?

JAVA is a multi paradigm programming Language. It is a widely used technology.

_[Why it is multi paradigm means it supports functional programming and object oriented programming.
Programming paradigm- A programming paradigm is a relatively high-level way to conceptualize and structure the implementation of a computer program.

Functional programming- Functional programming is a programming style that breaks down problems into functions that take inputs and produce outputs.

Object-oriented programming (OOP) is a programming paradigm based on the concept of objects,[1] which can contain data and code: data in the form of fields (often known as attributes or properties), and code in the form of procedures (often known as methods). ]_

History of JAVA?

1.JAVA was developed by SUN Microsystems in the year of 1995 by Green team for digital cable television but that was too advanced technology for that time. _JAMES GOSLING _ who is the father of JAVA who is created JAVA.
Initially it is named as OAK then renamed to JAVA.

2.Oak is a symbol of strength and chosen as a national tree of many countries like the U.S.A., France, Germany, Romania, etc.

3.Java is an island in Indonesia where the first coffee was produced (called Java coffee).One day when James was having a coffee he named as JAVA.

4.The principles for creating Java programming were "Simple, Robust, Portable, Platform-independent, Secured, High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic".

Where to download?

Since JAVA is a open source anyone can learn and develop JAVA. We need JDK(JAVA Development Kit) to learn JAVA. We can download it in from Oracle(https://www.oracle.com/java/technologies/downloads/) or openjdk (https://openjdk.org/)websites.
JDK- It has compiler and other essential tools for development

How to use?

Using text editor or IDE's(Integrated Development Environment) IntelliJ IDEA, Eclipse, or NetBeans are used to write and run the Java code.

Platform:

Any hardware or Software in which a program runs called a platform. Since JAVA has JRE and API as a platform.

Application

Java runs on more than 5 billions devices.

Types of Java Applications

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.

References: https://www.javatpoint.com/java-tutorial

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs