Java Introduction​ - MANASchool

Java Introduction​

Author: Admin 3
Last Updated: 29/12/2023
Java,

Java Programming Languages


What is Java ?

  • Java is one of the most commonly used and popular programming languages.
  • Java is a robust, object-oriented, secure and high-level programming language.
  • it was developed by the sun microsystems in year 1995. Now Oracle Corporation is developing java language.
  • James Gosling is known as the father of java.
  • It's known for its platform independence, making it sutitable for various applicaions.
Example code:
class Main{  
    public static void main(String args[]){  
     System.out.println("Hello Java");  
    }  
}  

Application of Java

Java is used on over three billion+ devices. Java can be applied to various platforms. like..

  1. Desktop Applications (e.g., VLC Media Player, antivirus, Eclipse IDE, etc.)
  2. Web Applications (e.g., online banking systems, e-commerce websites, social media platforms)
  3. Enterprise Applications (e.g., customer relationship management (CRM) software, enterprise resource planning (ERP) systems)
  4. Mobile Applications (e.g., Android applications)
  5. Embedded Systems (e.g., set-top boxes, home routers, IoT devices)
  6. Smart Cards (e.g., SIM cards, credit/debit cards)
  7. Robotics (e.g., robot control software)
  8. Games (e.g., mobile games, online multiplayer games, minecraft)

Types of Java Applications

There are four main types of Java applications, namely:

  1. Standalone Application
  2. Web Application
  3. Enterprise Application
  4. Mobile Application
  5. 1. Standalone Application:
    • Known as desktop or window-based applications.
    • Traditional software requiring installation on each machine.
    • Examples: media players, antivirus programs.
    • Java uses AWT and Swing for standalone applications.
    2. Web Application:
    • Operates on the server side, creating dynamic pages.
    • Uses technologies like Servlet, JSP, Struts, Spring, Hibernate, JSF.
    • Examples: email systems, online retail sales, Wikipedia.
    3. Enterprise Application:
    • Distributed nature, serving functions like banking systems.
    • Offers high-level security, load balancing, and clustering.
    • Java uses EJB for enterprise application development.
    4. Mobile Application:
    • Developed for mobile devices like phones and tablets.
    • Current technologies: Android and Java ME for mobile app development.

Java Platforms / Editions

There are 4 platforms or editions of Java:

  • Java SE (Java Standard Edition)
    • Purpose: Primarily for Java programming.
    • Includes: Core Java APIs (e.g., java.lang, java.io), fundamental topics like OOPs, String handling, Exception handling, Multithreading, I/O operations, Networking, AWT, Swing, Reflection, Collection framework, and more.
  • Java EE (Java Enterprise Edition)
    • Purpose: Geared towards developing web and enterprise applications.
    • Built on: Java SE platform.
    • Includes: Servlets, JSP (JavaServer Pages), Web Services, EJB (Enterprise JavaBeans), JPA (Java Persistence API), and other enterprise-level topics.
  • Java ME (Java Micro Edition)
    • Purpose: Specifically designed for mobile applications.
  • JavaFX
    • Purpose: Used for creating rich internet applications.
    • Feature: Employs a lightweight user interface API.

Recommended

Home Insurance With A Pool Author: Admin Date: 24/02/2024 Web Stories
7 Easy Ways To Make Money Online In 2024 Author: Admin 3 Date: 07/01/2024 Web Stories
1 Comments
  1. by fnfOzvSR say: April 27, 2024 at 7:10 am

    1

Leave a Reply

Your email address will not be published. Required fields are marked *