Top 10 Java Features (or What Makes Java Great)
By Angsuman Chakraborty, Gaea News NetworkWednesday, 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.
- JSP & Servlets - Most of java development today is arguably done on JSP & Servlets. It is the most widely used part of EJB specs today.
- 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.
- 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.
- 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.
- 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.
- 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.
- Reflection - Java reflection API allows dynamic discovery and invocation of methods etc.
- Generics - Java generics simplifies coding while continuing to provide type safety
- 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).
- 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.
Tags: Cases, Ejb, JSP, Servlets
bk poonam |
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: 5:53 am
You missed the most important one: JavaDoc. Without it we would be lost in an ocean of difficult-to-use APIs. |
Arthur