Features of Java as a platform

A platform is the hardware and software environment in which the program runs. If you want to build a Java platform on an existing computer, you only need to install the Java software, JDK. In other words, you can simply make your system a Java platform.


Java using the Java Virtual Machine

The Java Virtual Machine is a machine that uses bytecode as its machine language. Once you have a JDK environment, you can make your system a Java virtual machine.

The Java virtual machine acts as an interpreter that interprets and executes the bytecodes. The JDK’s interpreter (java), appletviewer, or web browser(Netscape, Explorer, HotJava, etc.) serves as the Java virtual machine.


Classification of the Java platform for the purpose of use

J2SE

The J2SE platform provides an environment for developing and executing applications, applet programs, and components using the Java language.

J2EE

The J2EE platform is an extension of J2SE, a Java server-side technology that provides an environment for developing and running multi-tier applications.

J2ME

The J2ME platform is a Java platform that can run on small embedded (embedded) devices such as cell phones and PDAs. Java can use the Java API (Application Programming Interface) for programming, which is a huge package provided by the JDK. Java developers can write Java programs using predefined software packages in the Java API.


Java environment

Java is a platform and a programming language.


Advantages of Java as a programming language

Java can quickly learn and write programs with less code. You can also write good quality programs and develop programs relatively quickly. And with Java, you can write platform-independent programs and easily create distributed software.


Java and the Web

Java and the Web have something in common. The Java structure is similar to the client-server architecture of the Web. Just as you download and run html documents from a server on the web, the Java bytecode is also downloaded from the server to the client and executed. Java has the advantage of being easily applied to the Web because of its structural similarities with the Web.


Web and Java Three Types of Interworking

Applet

An applet program is a program that runs on the client’s web browser. Ideal for small and simple applications.

Servlet

Servlet program is a program that can replace CGI type operation program. Unlike existing CGI method, servlet program creates and processes a thread in client’s request. It is more efficient than CGI.

JSP(Java Server page)

JSP is a way to write Java programs within HTML syntax. JSPs are translated into servlets and executed, making programming quick and easy. In addition, since the program code is written directly in HTML, it is easy to link with the design part.


As mentioned above, Java is a program that is linked to the web in any form. You can think of it as only slightly different from the way the program is run and the composition of the program.

Leave a Reply

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

Latest Post

  • Mastering the daily conversation in 4 languagesBasic sentences expressing my mood – I’m Listen to all Your browser does not support HTML5 Audio!
  • 8 things you need to think about for work-life balance
    View on Youtube Image: juliezhuo.com who works as a design VP for Facebook, presented 8 ways for work and life balance in her article “The
  • 10 special abilities of Smartphone
    View on Youtube No matter where you go or what you do, your smartphone is always with us. We use the internet with a smartphone,
  • Java: abstract class, abstract method
    An abstract class in Java is a class that declares an abstract function to be implemented in a subclass as an abstract method. An abstract
  • Java: inheritance and constructors
    When an object is created from an inherited class, the constructor of the superclass is performed before the constructor of the subclass. That is, when
  • Java reserved words: super, final
    super is a Java reserved word that is used to access member variables or methods of a superclass that is obscured by a subclass. Access
  • Java: finalize method and garbage collection
    The Java Virtual Machine(JVM) automatically performs garbage collection for objects that are no longer needed for efficient system operation. At this point, the JVM calls
  • Java: Method overloading
    Method overloading is the same concept as constructor overloading. That is, you can use methods of the same name in the same class, but methods
  • Java final variable
    You can specify an end variable using the reserved word final. The final variable represents a constant value that can not be changed. Typically, final
  • Java class variables
    Class variables are declared with static and have the concept of global variables. Class variables are used for the following purposes. Object references and object