Top 10 Java Features (or What Makes Java Great)

By Angsuman Chakraborty, Gaea News Network
Wednesday, May 3, 2006

Here is a list of top 10 java features I constantly use and highly recommend; features which makes Java great as a language and platform.

  1. JSP & Servlets - Most of java development today is arguably done on JSP & Servlets. It is the most widely used part of EJB specs today.
  2. Platform independence - It works in most cases flawlessly. It has significantly improved over the years. Some other languages / platform offers some degree of platform independence too. However in Java it is without pain. I develop on Windows and yet deploy on Linux regularly without any issues ever.
  3. Availability of JVM source code - When in trouble we can always look up the source code and find what exactly is going on behind the scenes.
  4. Security - Java was designed with security in mind. It provides super solid libraries for all your security requirements. Security in Java was nowhere an afterthought like many other languages.
  5. Strong support for protocols and interfaces with API’s like JDBC, JNDI, JNI, Java IDL, JAXP etc. Java has a solution for almost anything you can throw at it.
  6. Dynamic class loading - Ability to load class data over different devices and network. This forms the foundation of EJB, RMI and host of other technologies.
  7. Reflection - Java reflection API allows dynamic discovery and invocation of methods etc.
  8. Generics - Java generics simplifies coding while continuing to provide type safety
  9. Annotations - In terms of usage we have only begun to scratch the surface. I expect it to be the next XML for Java developers (for better or for worse).
  10. Lack of pointers - This is a boon for those frustrated with pointer arithmetic in C / C++.

This is my top 10 list. Feel free to add your own list in comments. Have I missed any of your favorites?

BTW: If you like this article consider digging it.

P.S. Such list would not be complete without a corresponding list of Top 10 Java Features I would like to see (implemented). It comes next.

Discussion

Arthur
March 22, 2010: 7:01 am

3 kinds of Java Variables


bk poonam
October 24, 2009: 11:24 pm

coding of database in applet when image is added in applet


Manuel Loayza
May 10, 2006: 11:00 am

>>JSP & Servlets - Most of java development today is >>arguably done on JSP & Servlets. It is the most >>widely used part of EJB specs today.

JSP & Servlets aren’t include in the EJB Spec, by example both servlet 2.3 and jsp 1.2 was defined en jsr 53, jsp 2.0 in jsr 152 and servlet 2.4 in jsr 154 and so.

You should have said that JSP & Servlet are the most widely used part of JavaTM 2 Platform, Enterprise Edition 1.4 (J2EE 1.4) Specification (JSR 151) .


Amit
May 5, 2006: 10:54 am

You said JVM source code, when I think you meant Java API source code.

May 5, 2006: 5:53 am

You missed the most important one: JavaDoc. Without it we would be lost in an ocean of difficult-to-use APIs.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :