Saturday, November 9, 2024

Java introduction, Types of java applications, java platforms

 Java:

Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java.

Platform: Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform.

Types of java applications:

Type

Description

Standalone Applications

Single-user applications with GUI (e.g., Swing, JavaFX), ex: media players, editors etc..

Web Applications

Server-side applications running in browsers (e.g., JSP, Servlets)

Enterprise Applications

Large-scale applications for businesses (e.g., Java Enterprise edition j2EE, Spring Boot, Ejb, struts, jsf)

Mobile Applications

Applications running on mobile devices (e.g., Android apps)

 

 

Java Platforms

Platform

Purpose

Key Features

Typical Use Cases

Java SE

General-purpose platform for desktop and standalone applications

Core libraries, GUI (Swing/JavaFX), networking, I/O, etc.

Desktop applications, utilities, command-line tools

J2EE

Enterprise applications, scalable web apps, and services

Web services, EJB, JPA, JMS, and enterprise frameworks

Large-scale business systems (CRM, ERP), web services

Java ME

Mobile and embedded applications on resource-constrained devices

CLDC, MIDP for mobile, small embedded systems

Mobile apps (feature phones), IoT, smart devices

JavaFX

Rich client applications with advanced UIs

Scene graph, animations, rich graphics, declarative UI with FXML

Rich desktop apps, interactive tools, media players


No comments:

Post a Comment