Java Introduction

Java was developed by Sun Microsystem in the year 1995, Java 1.0 is the first version and was released for Linux, Solaris, Mac, and Windows. James Gosling is known as the father of Java.

Java Introduction
Java Introduction

Java was developed by Sun Microsystem in the year 1995, Java 1.0 is the first version and was released for Linux, Solaris, Mac, and Windows. James Gosling is known as the father of Java. Oak was the first name given to Java later they changed the name from Oak to Java. Java was owned by Oracle. Java runs on different platforms such as Windows, Linux, Mac, etc. In 2010 Oracle Corporation incorporated Java technology into the Oracle family by purchasing Sun Microsystems in January.

Advantages of Java

Simple: Java is very easy to learn and java syntax is very simple and easy to understand, it is based on C++. Java has a Garbage Collection.

Platform Independent: Programming languages like C and C++ are compiled only on platform-specific machines, whereas java runs on other hardware-based platforms. When we compile java code the java code will be converted into bytecode, we can run the byte code in different platforms such as Windows, Mac, Linux, etc.

Object-oriented: Java is an object-oriented programming language. In java, everything is an object.

Robust: Java puts a lot of emphasis on early checking for possible errors. Java has an automatic garbage collection mechanism and has a strong memory allocation. Java has powerful type checking and exceptional handling mechanism compared to other programming languages.

Portable: Java is portable because we can run the java bytecode in different platforms.

Automatic memory management: A Java developer does not have to check if there is enough memory to allocate for an object and then deallocate it explicitly, the operations are automatically handled by the garbage collector.

Applications of java

  • Mobile Applications
  • Gaming Applications
  • Scientific Applications
  • Desktop GUI Applications
  • Enterprise Applications
  • Big Data technologies
  • Business Applications
  • Cloud-based Applications
  • Distributed Applications
  • Web-based Applications

Popular IDE’s for Java

1. Eclips

Eclips is the most popular java IDE. Eclips has a lot of plugins. Through plugins, we can develop applications in other programming languages like C, C++, PHP, Python, R, etc.

2. IntelliJ IDEA

IntelliJ is also one of the popular java IDE. IntelliJ allows you to load only one workspace or project at a time.

3. Netbeans

Netbeans is a free java IDE. Netbeans is used to build desktop, mobile and web applications. Inbuilt tools in Netbeans makes us to write bug-free code.

4. Blue J

BlueJ is an IDE for the java programming language. BlueJ is mainly developed for educational purposes. BlueJ runs on multiple platforms.

Java on Web Page

Applet: We can transmit networked Java program embedded in a web page over internet which will be executed by another java compatible browser.

Servlet: Servlet is small java program that supports web browsers but, Runs on different computers or webservers to extend its functionality.

JavaServer Page(JSP): JSP is a Web Page that consists of fragments of java program.