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
Top comments (0)