1.The History of Java:
🌱 Beginning
Java was created in 1991 by James Gosling at Sun Microsystems.
Originally, it was called Oak and was designed for small devices.
🔄 Name Change
In 1995, Oak was renamed to Java.
At the same time, the internet was growing, and Java became perfect for web development.
🌐 Why Java Became Popular?
Java introduced the idea:
👉 “Write Once, Run Anywhere”
This means Java code can run on any system using JVM (Java Virtual Machine).
🏢 Big Change
In 2010, Oracle Corporation bought Sun Microsystems and took control of Java.
🚀Today, Java is used in:
- Web development
- Android apps
- Enterprise applications
2.Architecture of Java:
_
🧱 What is Java Architecture?_
Java architecture is the process that explains how a Java program is compiled and executed. It is designed to follow the concept:
👉 “Write Once, Run Anywhere”
This means Java code can run on any system without changing the program.
🔄 How Java Works?
The working process of Java is simple:
- You write code in a .java file
- The compiler (javac) converts it into bytecode (.class)
- The JVM (Java Virtual Machine) runs the bytecode
- Output is generated
⚙️ Main Components of Java Architecture
🔹 JDK (Java Development Kit)
JDK is used by developers to write and compile Java programs. It includes tools like the compiler.
🔹 JRE (Java Runtime Environment)
JRE provides the environment to run Java programs. It includes JVM and necessary libraries.
🔹 JVM (Java Virtual Machine)
JVM is the heart of Java. It converts bytecode into machine code and executes it.
🧩 Inside JVM
JVM has important parts:
- Class Loader – Loads the class files
- Memory Area – Stores data (Heap, Stack)
- Execution Engine – Runs the program
- Garbage Collector – Removes unused memory
✨ Why Java Architecture is Important?
- Platform independent
- Secure and reliable
- Automatic memory management
- Better performance using JIT
3.Java Server Provider Companies:
🌍 Cloud & Hosting Providers
🔹 Hostinger
Hostinger is a popular hosting provider. It offers VPS hosting that supports Java applications like JSP and Servlets. It is beginner-friendly and affordable.
🔹 Jelastic
Jelastic is a cloud platform specially designed for Java developers. It supports modern technologies like Docker and Kubernetes.
🔹 RackBank
RackBank is an Indian hosting provider. It offers reliable Java hosting with good support and performance.
🔹 Javapipe
Javapipe provides dedicated Java hosting. It supports frameworks like Spring and Hibernate.
🖥️ Java Application Servers
🔹 Apache Tomcat
Apache Tomcat is the most widely used Java server. It is mainly used to run web applications.
🔹 JBoss (WildFly)
JBoss is an enterprise-level server used for large-scale applications.
🔹 GlassFish
GlassFish is a Java EE server used for developing and testing applications.
🧠 Why Do You Need a Java Server?
- To run Java web applications
- To host websites and APIs
- To manage backend services