Truths and Myths About Java

          Truths and Myths About Java 


On may 24 2021 , java turned 26 years old. Which is pretty old enough for a programming language to be. It's incredible that it is still usually wide and run by many of the large organisations in the world. But it has a different sense among other programming languages that it has two distinct things , one of them is the language itself and other the Java runtime.

 Most of the developers think that Java is very old and due to this reason it should not be used. But still javascript which came six months after java came  is the most popular programming language used  in today's world.


1. Java is dead

The evolution of Java language happen to be at a quite nice pace from the year 1995 to 2006. This was because of the new major version they launched in every 2 years.

In Java 5 the introduction of generics was a really a good language shift in 2004.

The version 6 of the Java was released in the year 2006. Relatively  it had fewer modifications.

The language is now stagnated for few several years. The JAVA community is facing difficulties to agree on the most appropriate evolutions for it.

Some believed that Java had died after the acquisition by Oracle.

For the future of java many doubts have come to light. Some people say that it will be dead under oracle’s leadership. In 2007 , java 7 finally launched but it had limited features to what was expected by others.

2. Java is slow

One of the determined myth of java language is that the fact of java to be slow. But however this fact is based on truth that since launch of first version  of java succeeding versions were really slower than other languages like c or c++. So to keep the promise “write once , Run anywhere” , Java had to go with some concessions and its virtual machine, known as the very Famous JVM. This added a software layer. In some specific cases , the performance could agonize.

In addition to the problem of new software layer in Java some implementations were really slow in the start .Now come through and the c plus plus and c enthusiasts must come to the conclusion of the fact that JVM is also fast

3. Java has become a paid service

In 2018 Oracle said in a confusing way that JDK would now be charged to  professional uses for  production. So it was obvious that confusion lead to some arguments that Java became a paid service but this was not the case. Another of its new math came to falseness.

                                                                                       

In reality Oracle distributes two types or two builds of the JDK:

·       Oracle JDK

·       Oracle OpenJDK

You only have to pay Oracle for production purpose but Oracle JDK is absolutely free development and testing environmentIt comes with long term support from the Oracle. Plus the open JDK platform from Oracle is also free  for any environment. This is how java is  free as long as we use Oracle open JDK

4. Java can’t leak memory

In Java the garbage collector manages memory. 10 like other languages such as c or c plus plus this developer does not have to deal with management of memory itself. All of its intention is to extract the developer from this type of work in order to limit the memory leak. Based on this fact many people think that it is not possible to have leakage of memory in Java.

It is still a myth that needs to be debunked. Indeed, by never releasing references on objects and variables that are no longer useful, the developer will prevent the Garbage Collector from doing its work properly.

In any case like this it is very important to be conscious that a managed memory language like Java does not mean that developer should not design program that take into account the management of memory issues. The developer must be aware of this and even if the way of reasoning is not same as compared to the other compiling languages like c or c++.

But in the end everything remains a matter of common sense.

 

 

5. Java is the only language you need to learn

Java still remains the most widely used language in companies. Plus to add to  Android's fabulous success in these years or in the Mobile World makes it perfectly usable to build mobile applications. Java framework this allows us to create web applications with Java language always. From the client-side Java is also in the spotlight with swing or Java FX. This is rather the fact that swing is still aging and Oracle support for Java FX is quite lighter now.



This last resolved meth around Java is now once again to be forgotten that is Java allows everything to be done but it is not necessary that the best solution in all cases as a programmer is to be pragmatic!

 

Conclusion

Java still remains the most widely used programming language and in fact the leader that all competitors want to displace from its pedestal. But in the end the myths about Java are mostly persistent.

So in this article we present a due the five very great meals while showing while they were false.

In conclusion we should never forget that Java is here to stay for long time and you must be always pragmatic while choosing a technology for any project.

Authors: Arya Kokare, Piyush Kolhatkar , Akshay Khubchandani , Shreyash Khandwe,Harsh Khandelwal ,Vaibhav Khandagle.
We hope you found this blog interesting, feel free to drop your queries in the comments below. Stay tuned for more!




Comments

Post a Comment