Java

Learn New things from Rixosys

Introduction

Introduction

Java is a programming language. Java is used to develop mobile apps, web apps, desktop apps, games and much more. Java is an object-oriented, class-based, concurrent, secured and general-purpose computer-programming language. it's a widely used robust technology.

What is java?

Java is a popular programing language, created in 1995.It is owned by Oracle, and more than 3 billion devices run Java.

It is used for:

  • Mobile applications (specially android apps)
  • Desktop applications
  • Web applications
  • Web servers and application servers
  • Games
  • Database connection
  • And much, much more!

Advantages Of Java?

Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)

  • It is one of the most popular programming language in the world
  • It is easy to learn and simple to use
  • It is open-source and free
  • It is secure, fast and powerful
  • It has a huge community support (tens of millions of developers)

Application of 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.
  • Mobile
  • Embedded System
  • Smart Card
  • Robotics
  • Games, etc.

Types of Java Applications 

There are mainly four kinds of applications that can be created using Java programming:

1) Standalone Application

Standalone applications are known as desktop applications or window-based applications. These are traditional software system 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 aspect and creates a dynamic page is called an online application. Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web applications in Java.

 

3) Enterprise Application

An application that's distributed in nature, such as banking applications, etc. is called enterprise application. it's benefits of the 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 American state are used for creating mobile applications.

Java Platforms

There are four platforms or editions of Java:

1) Java SE (Java standard Edition)

It is a Java programming platform. It includes Java programming genus Apis like java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner categories, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.

 

2) Java technology (Java Enterprise Edition)

It is an enterprise platform which is mainly used to develop internet and enterprise applications. it's designed on the top of the Java SE platform. It includes topics like Servlet, JSP, internet Services, EJB, JPA, etc.

 

3) Java American state (Java micro Edition)

It is a micro platform that is mainly used to develop mobile applications.

 

4) JavaFX

It is used to develop rich web applications. It uses a light-weight user interface API.

 

Tools You Will Need

For performing the examples discussed in this tutorial, you may need a Pentium 200-MHz system(laptop or computer); with a minimum of sixty four MB of RAM (128 MB of RAM recommended).

You will additionally need the following softwares −

  • Linux 7.1 or Windows xp/7/8 software package
  • Java JDK 8
  • Microsoft notepad or any other text editor

This tutorial will provide the mandatory skills to create graphical user interface, networking, and internet applications using Java.

Popular Java Editors

To write your Java programs, you may need a text editor. There ar even additional sophisticated ides available within the market. except for currently, you can consider one of the following −

Notepad − On Windows machine, you can use any simple text editor like notepad (Recommended for this tutorial), TextPad.

Netbeans − A Java IDE that is open-source and free which can be downloaded from https://www.netbeans.org/index.html.

Eclipse − A Java IDE developed by the eclipse open-source community and can be downloaded from https://www.eclipse.org/