Tag: java buzzwords

Why Java is “Secured” ?



In realworld applications whenever we develop any project  in any of the language, it is mandatory for the programmers to write security programs.
As on today non-java programmers programmatically has to develop security programs by implementing the alogrithms of network security which is a complex process. It indicates other than Java programming language, there are no readily available security programes.
In Java programming SUN Micro system has provided the complete Implementation for all the algorithms of the network security and provided in Java API.
Java contains readily available security programs. Hence, SUN Microsystem has populated Java is one of the highly secured language


How Java is “Dynamic” ?



  1. waste of memory space
  2. loss of data
  3. overlapping of existing data

In any programming language we have 2 types of memory allocations.
They are:

  1. Static Memory allocation
  2. Dynamic Memory allocation

A Static memory allocation is one in which memory will be allocated at compile time. Because of static memory allocation we get the following disadvantages.

  1. Waste of memory space[ no of values we entered at runtime are less than the size of the array]
  2. Loss of data [ no of values we entered at runtime are more than the size of the array]
  3. Overllapping of existing data.

To eliminate the above drawbacks we use dynamic memory allocation technique.
A dynamic memory alocation technique is one which memory will be allocated at runtime.
Java programming never follows static memory allocation but it will always follows dynamic memory allocation by using ‘new’ operator.
‘New’ operator is known as dynamic memory allocation operator.
Therefore, based on the memory allocation, SUN Microsystem has populated JAVA is one of the dynamic programming language.

How Java is “Robust”(Strong) ?



In the programming languages like C, C++, PASCAL etc there is no facility for addressing runtime errors. Hence, C, C++, PASCAL, COBOL etc languages are treated as weak programming languages.
The language Java contains a distinct facility called exception handling, which will address runtime errors effectively.
Hence, Java language is populated as one of the strong programming language.

Compile-time errors are those which are listed/resulted provided the programmer is not following syntaxes of the language.
Runtime errors are those which are listed/resulted when the normal user enters invalid input.

How Java is “Interpreted” ?



In the earlier version of Java, Compilation phase is very fast and implementation phase is very slow. This is one of the complaint received by SUN Microsystem from the Industry experts.
To speed up the Interpretation phase, SUN Microsystem has developed a program called JIT ( Just in Time compiler and added as a part of JVM)
In the current versions of the JAVA, Interpretation phase is so faster than compilation phase. Hence, SUN Micro system has populated Java is one of the Highly interpreted programming language compared to all the programming languages available in the Realworld.

Define JIT?
JIT is the program developed by SUN micro system and added as a part of the JVM to speedup the Interpretation phase by reading the entire section of the bytecode and converting into native understanding form of OS.

How Java is rated as “High Performance” ?


High Performance (Because Java is “Simple”)

Java is one of the high performance programming language because of the following points.

  1. Magic of bytecode
  2. automatic memory management ( Garbage collector program)
  3. Java programming environment is totally free from a complex concept called pointers. So that performance of the Java programmers is improved.

How Java is “Networked” ?



Collection of Interconnected non-autonomous/autonomous computers connected with a server is known as Network.

The basic aim of networking is that to share the data between multiple machines which are located either in same network or in different network.

According to Industry standards, networks are classified into two types.

  • Untrusted Network
  • Trusted Network

An Untrusted network is one which there exists “collection of Interconnected non-autonomus computers connected with Server”.

Using this network architecture one can develop the Intranet applications by making use of library of (network programming – java.net.*)

Untrusted network architecture prefered by those organizations whose business operations are restricted to certain place.

A Trusted network one can develop internet applications by making use of J2EE technologies (servlets, JSP, EJB, etc)

This architecture prefered by those organizations whose business operations spread across the globe.

Hence, the libraries of J2SE and J2EE makes us to develop the networking applications like Intranet applications and internet applications respectively.

So that JAVA is one of the Networked programmed language.