/ Java

12 Java white paper Buzzwords that makes Java Special.

Java was primarily developed to run on a great variety of computer systems and computer-controlled devices. It is also known as WORA (Write Once, Run Anywhere). So, the developers of the Java keep in mind to provide the users with various features that earn its popularity. These features also included in the white paper of Java are named as buzzwords.

Following are the enlisted Java buzzwords.

  1. Simple
  2. Object-Oriented
  3. Network -Savvy (Distributed)
  4. Robust
  5. Secured
  6. Architecture-Neutral
  7. Portable
  8. Interpreted
  9. High Performance
  10. Multithreaded
  11. Dynamic
  12. Platform Independent
  1. Simple

If you are familiar with the C++, you’ll feel easy to program in Java. Most of the syntax in Java are refined version of C++. Indeed if you are a programmer with the Visual Basic background, you’ll find a little bit hard to get used to it. If you intend to learn a program, you’ll quickly learn Java in small time due to its simple syntax.

To summarize, Java is simple because:

  • Java is similar to C++ in syntax.
  • Automatic garbage collection makes easy to program and certainly automatically removes unreferenced objects.
  • Java removes the concept of explicit pointers and operator overloading.
  1. Object-Oriented

The object-oriented concept is a proven means for effective and manageable software development. This concept evolved more than forty years ago, so most of the modern programming language use this paradigm. Java is a pure object-oriented program where everything in Java is object-oriented. The main difference between Java and C++ is the multiple inheritances, which Java replaced with a simple concept of interfaces.

The basic concept of Object Oriented Programming are:

  • Object
  • Class
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation
  1. Network -Savvy (Distributed)

Remote Method Invocation (RMI) and Enterprise Java Bean (EJB) are the distributed applications that are programmed using Java. Simple and easy networking capabilities in Java makes its choice of many programmers. The distributed structure of Java ensures to call any machine in the network (internet) by just calling its method. Java handles other hidden tasks like opening and closing a socket.

  1. Robust

Strong is the synonym of Robust. Java Compiler detects error detects before runtime, which other programming language lacks.  Also, there won’t be pointer problem in java.

Here are some points that make Java robust:

Java uses strong memory management.

Elimination of security problem is possible since we don’t use pointer in Java.

JVM ensures to solve garbage collection issues.

The type checking mechanism and exception handling are present in Java.

  1. Secured

Java programs eliminate the use of pointers which help them to become secure. Also, the programs run in JVM which is Java own virtual environment. Development of secured and virus free system is possible with help of java. Secured and virus free system developed with

Some security features of Java are:

  • Class loader: Class loader dynamically loads Java Classes in the JVM. It provides security by separating the package between a local system and imported from the network.
  • Bytecode Verifier: It ensures that the code fragments have proper access right to object.
  • Security Manager: It manages the resources the class can have while read or write to the local system.
  1. Architecture-Neutral

Java doesn’t implement the dependent features for the different machine. Hence, it is architecture- neutral. An example is the fixed size of a primitive data type.

In C programming, data type int for 32-bit architecture occupies 2 bytes of memory while takes up 4 bytes of memory for 64-bit architecture. Java takes 4 bytes of memory for 32 as well as 64-bit architecture.

  1. Portable

When you program, compiles and generates the bytecode you can easily transfer the bytecode and run on any machine. The machine can be different versions of Windows, Mac or various flavors of Linux. In addition, Java let you run the program without the need for any implementation.

  1. Interpreted

Java is an interpreted language. The bytecode generated by the Java compiler can certainly run on any machine has an interpreter. Early Java development tools were quite slow. Today, the Just-in-time (JIT) compiler helps to translate the bytecode into machine code.

  1. High Performance

As compared to other interpreted languages, Java is faster. It is because the Java bytecode is close to native code. It is again slower than compiled languages like C and C++. Java is an interpreted language, so it is slower than compiled languages. Today, JIT helps Java to execute the program faster.

  1. Multithreaded

When you use Java to program multithreading, you’ll love it because of its simplicity. Threads are the separate programs that run concurrently. Threads occupy the same memory space in multi-threading which is the main advantage to use it. Web applications, multimedia, games, use multi-threading.

  1. Dynamic

Dynamic nature of Java supports dynamic loading of classes. It means the classes loads whenever needed in the program. Many functions of C and C++ remain supported in Java.

Java also supports automatic memory management and dynamic compilation of the program.

  1. Platform Independent

Java program after compilation generates the bytecode which is platform-independent. Therefore, It can run on any computer. Programming languages like C and C++ are compiled based on the platforms they run on. So, That’s the reason Java is called WORA. A platform is the hardware or software environment which is used to run a program.

A platform is the hardware or software environment in which a program runs. So, Java is a software-based platform that runs on the hardware-based platform.

 

Download this article

Furthermore, you may have brief about Java. So, please click the link below as:

Introduction to Java

Dipendra Laxmi Bahadur Chand Thakuri
CEO @ Vine Software Innovation Company (Pvt.) Ltd. (VSIC)
View More

Comments:

1 comment(s)!
C++ Vs. Java - Saral Notes (Learn something new today)
[…] 12 Java White Paper Buzzwords […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top button
error: Please be respectful of copyright. Unauthorized use is prohibited.
%d bloggers like this: