Java's Support System जावा का सहयोगी तंत्र

Java एप्लिकेशन और अप्लेट्स को सफलतापूर्वक चलाने के लिए कई सहयोगी घटकों (supporting components) की आवश्यकता होती है। ये घटक Java को एक प्लेटफ़ॉर्म-स्वतंत्र और सुरक्षित भाषा बनाने में महत्वपूर्ण भूमिका निभाते हैं। इस लेख में हम जावा के समर्थन तंत्र (Support System) से जुड़े प्रमुख भागों को द्विभाषीय रूप में समझेंगे।

🅰️ a) Java Code | जावा कोड

Java code is the actual source code written in .java files that defines the behavior and structure of a Java Applet.

जावा कोड वह मूल स्रोत कोड होता है जो .java फ़ाइल में लिखा जाता है और जावा एप्लेट के व्यवहार व संरचना को परिभाषित करता है।

🗂️ Example:

public class MyApplet extends Applet {
   public void paint(Graphics g) {
      g.drawString("Hello Applet", 20, 20);
   }
}

🅱️ b) Byte Code | बाइट कोड

Byte code is the compiled version of Java source code (.class file) that is downloaded and executed by the user's browser using the Java Virtual Machine (JVM).

बाइट कोड जावा स्रोत कोड का संकलित रूप होता है (.class फ़ाइल), जिसे उपयोगकर्ता के ब्राउज़र द्वारा डाउनलोड कर जावा वर्चुअल मशीन (JVM) के माध्यम से चलाया जाता है।


🌐 c) HTML (HyperText Markup Language) | एचटीएमएल

HTML is used to embed the Java Applet into a web page so that it can be executed in the browser.

एचटीएमएल का उपयोग जावा एप्लेट को वेब पेज में सम्मिलित करने के लिए किया जाता है ताकि यह ब्राउज़र में निष्पादित हो सके।

🧾 Example:

<applet code="MyApplet.class" width="300" height="100">
</applet>

🏷️ d) Applet Tag | एप्लेट टैग

The <applet> tag in HTML is used to embed a Java Applet within a webpage. It specifies the .class file and the size of the applet.

HTML में <applet> टैग का प्रयोग जावा एप्लेट को वेबपेज में एम्बेड करने के लिए किया जाता है। यह .class फ़ाइल और एप्लेट के आकार को निर्दिष्ट करता है।

📌 Note: The <applet> tag is deprecated in HTML5.


🌍 e) Web Browser | वेब ब्राउज़र

A web browser executes the HTML file that contains the Java Applet. It should be Java-enabled to support applets.

वेब ब्राउज़र उस HTML फ़ाइल को चलाता है जिसमें जावा एप्लेट होता है। यह जावा सक्षम होना चाहिए।

🧭 Examples:

  • HotJava

  • Netscape Navigator

  • Internet Explorer

  • Google Chrome

  • Mozilla Firefox


💾 f) Web Server | वेब सर्वर

A web server hosts the HTML and Java class files. It accepts user requests and delivers required content.

वेब सर्वर HTML और जावा क्लास फाइल्स को होस्ट करता है। यह उपयोगकर्ता के अनुरोधों को स्वीकार करता है और आवश्यक सामग्री प्रदान करता है।

🧰 Example: Apache Tomcat


🔐 g) Proxy Server | प्रॉक्सी सर्वर

A proxy server acts as an intermediary between the client and the main server, improving security and performance.

प्रॉक्सी सर्वर क्लाइंट और मुख्य सर्वर के बीच एक मध्यस्थ के रूप में कार्य करता है और सुरक्षा व प्रदर्शन को बेहतर बनाता है।

Comments

Popular posts from this blog

What is a Web Browser? वेब ब्राउज़र क्या है?

The Internet and Java इंटरनेट और जावा का सम्बन्ध